1. Resources

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?

Thanks

Allen

new topic     » topic index » view message » categorize

2. Re: Resources

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Resources

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.

Allen

new topic     » goto parent     » topic index » view message » categorize

4. Re: Resources

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Resources

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

new topic     » goto parent     » topic index » view message » categorize

6. Resources

I know that with C you can have resources that have all the icons, 
bitmaps, and other things that your program uses.  Can this be done with 
Euphoria?

new topic     » goto parent     » topic index » view message » categorize

7. Re: Resources

sortof, What I mean is Euphoria can handle just about
any Windows API function. David Cuny has a program
name res.e to include resources with an interpreted
program but Graeme Burke has a nifty tool named
incbm.e (found on the user contrib page) that will allow
you to include as sequence the .bmp (pretty powerfull)
These obviously take a small effort to learn and setup
but are usefull. I wish RDS would  have thought about
a resource compiler (type) when they introduced the
windows version. Maybe in a latter version who knows.
If anyone has written this I dont know about it.

Euman
euman at bellsouth.net


----- Original Message ----- 
From: <wick900 at operamail.com>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, July 09, 2001 11:09
Subject: Resources


> 
> 
> I know that with C you can have resources that have all the icons, 
> bitmaps, and other things that your program uses.  Can this be done with 
> Euphoria?
> 
> 
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu