View previous topic :: View next topic |
Author |
Message |
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Tue Sep 24, 2013 2:19 pm Post subject: Error in running expamble in Plato |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Tue Sep 24, 2013 5:24 pm Post subject: |
|
|
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 |
|
|
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Tue Sep 24, 2013 8:16 pm Post subject: Error 802 |
|
|
I tried changing the case to see if it was case sensitive and did not get any different results. |
|
Back to top |
|
|
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Tue Sep 24, 2013 9:28 pm Post subject: additional information |
|
|
From the command line this compiles just fine. I only seem to have the problem compiling in Plato. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Sep 25, 2013 7:47 am Post subject: |
|
|
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 |
|
|
|