Re: Resources
- Posted by Bernie Ryan <xotron at bluefrog.com> Jun 28, 2007
- 691 views
Allen Ashby wrote: > > Derek Parnell wrote: > > > > Allen Ashby wrote: > > > > > > > > > If I try to open a Euphoria program from another Euphoria program using > > > shellExecute and the second program has resources I get an error. > > > Does anyone know a work around for this? > > > > What do you mean by "has resources", and what is the error you are getting? > > > > -- > > Derek Parnell > > Melbourne, Australia > > Skype name: derek.j.parnell > > I get the following error when the program I am trying to open is in a > different place on my hard drive. > > 243 in function loadBmpResource() > bad file number (-1) > Allen: It sounds like your second program is not looking for the BMP file in the correct location. You have to either have the exact location of the resources full path in the include statement or the resource directory added to your EUINC path. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan