Silverfrost Forums

Welcome to our forums

Close default window.

2 May 2006 8:42 #645

What is wrong with the following code? I thought that salflibc.dll contains all the clearwin functions but when I run the following little program I get a message

Error 29, Call to missing routine:_GET_DEFAULT_WINDOW.

  aa=1.0
  write(*,*) 'aa=',aa
  iwin=GET_DEFAULT_WINDOW@()
  CALL DESTROY_WINDOW@(iwin) 
  end

The program is compiled and linked in command mode with the -windows option. Is it possible to close the default output window from within the program?

Richar May

2 May 2006 11:01 #646

Richard

You need to

INCLUDE <windows.ins>

or add the relevant lines from this file.

Please login to reply.