View Single Post
Old 26 August 2008, 03:06   #2
thor
Registered User
 
thor's Avatar
 
Join Date: Mar 2006
Location: Germany
Posts: 899
It simply doesn't find the picture. If you run the program from it's icon, the current directory isn't changed to the program directory. You can also try this (assuming the picture doesn't reside in sys):
Code:
cd sys:
<path to your program>/maincode
As the current path is sys: and not your program directory, it doesn't find the picture either. You should get your program's path and set the current directory to it. From a very quick glance in the autodocs it seems GetProgramDir/NameFromLock/SetCurrentDirName might be an option. Haven't tried it though.

Edit: Alternatively you simply could use this
Code:
file2			DC.B	"PROGDIR:venus.lores0.raw",0

Last edited by thor; 26 August 2008 at 06:36.
thor is offline  
 
Page generated in 0.04279 seconds with 10 queries