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 

Error in running expamble in Plato

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



Joined: 10 Mar 2009
Posts: 23
Location: USA

PostPosted: Tue Sep 24, 2013 2:19 pm    Post subject: Error in running expamble in Plato Reply with quote

When I compile the example in Plato I get the attached error.

use mswin
use common_mod
use salf_about
implicit none
external about_box_cb
integer :: i
ms_selects = 0
i=winio@('%ca[Selection using %lb , %ls and %ms]&')
i=winio@('%fn[ms sans serif]%ts&',0.8D0)
i=winio@('%sy[3d_raised]&')
i=winio@('%mi[icon_1]&')
i=winio@('%4.1ob&')
i=winio@('%mn[&Exit]&','exit')
i=winio@('%mn[&Help[About]]&',about_box_cb)
i=winio@('Simple%ff%`bg[window]%^lb%nd%cb&',string,7,k,lbox_cb)
i=winio@('Drop-down%ff%`bg[window]%^`ls%cb&',string,7,k,lbox_cb)
i=winio@('Scrolling%ff%`bg[window]%^10.3ls%cb&',string,7,k,lbox_cb)
i=winio@('Multiple selection%ff%`bg[window]%^ms%cb&',string,7,ms_selects,mselbox_cb)
i=winio@('%ff%nl%`bg[window]%40.7cw%ff&',0)
i=winio@('%sfNote that the first three boxes are linked together because they share the result variable K')
end program listbox


resources

ICON_1 ICON salflogo.ico


Compiling this gave me an error 802.

I have not found anything to tell me how to fix this.

I would appreciate some help with this.

Thank you.

Michael
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


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

PostPosted: Tue Sep 24, 2013 5:24 pm    Post subject: Reply with quote

The icon name icon_1 might be case-sensitive.
Try making both icon_1 and ICON_1 the same.
Otherwise the icon file salflogo.ico needs to be in the local folder or somewhere the resource compiler can see it.
Back to top
View user's profile Send private message AIM Address
CompuPayMike



Joined: 10 Mar 2009
Posts: 23
Location: USA

PostPosted: Tue Sep 24, 2013 8:16 pm    Post subject: Error 802 Reply with quote

I tried changing the case to see if it was case sensitive and did not get any different results.
Back to top
View user's profile Send private message Send e-mail
CompuPayMike



Joined: 10 Mar 2009
Posts: 23
Location: USA

PostPosted: Tue Sep 24, 2013 9:28 pm    Post subject: additional information Reply with quote

From the command line this compiles just fine. I only seem to have the problem compiling in Plato.
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


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

PostPosted: Wed Sep 25, 2013 7:47 am    Post subject: Reply with quote

Try putting a copy of the icon file in the same folder as the program file.
Are you using a Plato project or just compiling the file without a project?
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