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 

Troubles with MSWINMOD.F90 usage

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



Joined: 22 Nov 2006
Posts: 11

PostPosted: Wed Nov 29, 2006 6:55 am    Post subject: Troubles with MSWINMOD.F90 usage Reply with quote

I've used MSWINMOD.F90 (found in include folder) in my program because it seems to contain more WIN32 API definitions than WIN32API.INS. The compiler became VERY angry!! There is a huge number of functions with arguments defined as WINSTRING, WOUTSTRING, or WINREF, and all of these functions are rejected by FTN95 with a message:

*** Bad argument descriptor in C_EXTERNAL

Help file and WIN32API.INS defines these arguments as INSTRING, OUTSTRING, STRING and REF. If I'll change all bad descriptors to these words, would it save a day?

PS: Yes, MSWINMOD.F90 seems to be outdated, and I used outdated WIN API functions. With appropriate choice of WIN API functions WINDOWS.INS is fine!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Nov 30, 2006 12:26 am    Post subject: Troubles with MSWINMOD.F90 usage Reply with quote

Vladimir

mswinmod.f90 is included for information only. A .MOD file has already been built for you (probably mswin.mod) and all you need is "USE mswin" in your code.
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