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 

clearwin_option could not be located in my.exe

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



Joined: 14 Sep 2020
Posts: 4

PostPosted: Tue Sep 15, 2020 11:51 am    Post subject: clearwin_option could not be located in my.exe Reply with quote

Hi,

I followed this to add call to clearwin_option
http://forums.silverfrost.com/viewtopic.php?t=4291&highlight=clearwinoption

Code:

WinApp
Program p
!
   INCLUDE <CLEARWIN.INS>

   Character(Len=256) :: ffile ! - selected file -
   Character(Len=256) :: idir  ! - input directory -
!
   External :: get_filtered_file@
!
   call clearwin_option@("alt_open_save")
   ffile = ' '
   idir = '.\'
   Call get_filtered_file@ ('Test', ffile, idir, (/'All'/), (/'*.*'/), 1, 1)
   Print *, 'Test completed'
End Program p


This test code works, but when I try to add the call in my real code, it pops up this error message.

I am under win10@64. The program is compiled in 32bit. FTN95 ver 8.61

Cheers,

John
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Sep 15, 2020 5:33 pm    Post subject: Reply with quote

Have you included the trailing @?
Back to top
View user's profile Send private message AIM Address
Wfwtsn95



Joined: 14 Sep 2020
Posts: 4

PostPosted: Tue Sep 15, 2020 11:58 pm    Post subject: Re: Reply with quote

PaulLaidler wrote:
Have you included the trailing @?


Yes.

The error window caption is: my.exe - entry point not found.
The error is: The procedure entry point __clearwin_option could not be located in the dynamic link library my.exe.

Just wondering why it thinks my.exe is dynamic link library, not a stand alone program
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Wed Sep 16, 2020 7:06 am    Post subject: Reply with quote

Please check that you have included the @ in the line

Code:
call clearwin_option@("alt_open_save")


If you have then please post the actual code where it fails.
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