View previous topic :: View next topic |
Author |
Message |
RichardMay
Joined: 02 May 2006 Posts: 25
|
Posted: Tue May 02, 2006 9:42 am Post subject: Close default window. |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Tue May 02, 2006 12:01 pm Post subject: Close default window. |
|
|
Richard
You need to
INCLUDE <windows.ins>
or add the relevant lines from this file.
|
|
Back to top |
|
|
|