forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Close default window.

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
RichardMay



Joined: 02 May 2006
Posts: 25

PostPosted: Tue May 02, 2006 9:42 am    Post subject: Close default window. Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Tue May 02, 2006 12:01 pm    Post subject: Close default window. Reply with quote

Richard

You need to

INCLUDE <windows.ins>

or add the relevant lines from this file.

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group