Re: [WIN] run only one instance of selected program
- Posted by Euman <euman at bellsouth.net> Jun 24, 2001
- 467 views
make sure your copy of win32lib has this. global function setAppName(sequence pName) if it doesnt, check your version of win32lib again. Im useing win98SE and win32lib 0.55.1 19/Dec/2000 Euman euman at bellsouth.net ----- Original Message ----- From: "Judith" <camping at txcyber.com> To: "EUforum" <EUforum at topica.com> Sent: Sunday, June 24, 2001 13:04 Subject: RE: [WIN] run only one instance of selected program > > > > Euman wrote: > > It doesnt have to be compiled to work. > > Well, it doesn't work for me. I put it in right were you show and run > IDE and then run it again. Both are in the taskbar. > > I'm using win98SE and win32lib.ew v 55.1. > > So what am I doing wrong? > > > this will work interpreted or compiled. > > > > Its a pretty darn good idea to have this in your > > IDE cause it's so large. > > > > Euman > > euman at bellsouth.net > > > > > > ----- Original Message ----- > > From: "Judith" <camping at txcyber.com> > > To: "EUforum" <EUforum at topica.com> > > Sent: Sunday, June 24, 2001 12:50 > > Subject: RE: [WIN] run only one instance of selected program > > > > > > > > > > > > > > > > Euman wrote: > > > > I stuck it in right after the include of win32lib.ew > > > > like this and it works for me.. > > > > > > > > include win32lib.ew > > > > > > > > if setAppName("Win32Lib IDE") != 0 then > > > > abort(0) > > > > end if > > > > > > > > include xpm_icon.e > > > > include ide_xpm.ew > > > > include ruler.ew --Travis Beaty > > > > include shrtPath.ew --Wolf Fritz > > > > > > > > > > > > With this you wont be able to start another instance > > > > of the IDE as long as both copies your trying to > > > > run have this code in it > > > > > > > > > > > e.g: > > > > If you have an already compiled IDE.exe that doesnt > > > > have this code then sure, it will run. > > > > > > Oh, I didn't understand that it had to be compiled. In any event Dan > > > doesn't need me to make this change. > > > > > > Thanks, > > > <snip> > > >