Re: Executable using Gui4Cli.dll
"Marianne" <[email protected]> Thu, 21 Jun 2012 14:09:07 -0000
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
Demitris I made a test.gui as below: G4C TEST WINDOW 50 30 300 200 "TEST gui" WinAttr style resize xOnLoad GuiOpen #this xOnClose GuiQuit #this Quit XBUTTON 190 150 90 35 "Exit" Guiquit #this Create a Normal Gui4Cli executable and run. Click the Exit button. No problem, works 100%. No bacground instances. Now create Gui4Cli executable using Gui4cli dll option and run. No problem. Click the Exit button and I get the error "Test.exe has stopped working." Remove Quit from xOnclose and again create a exe using the dll. Run the program and exit. No problem everything works fine. The only problem now is that if you use Ctrl Alt delete that processes wil still indicate that test.exe is still running in background, it does not quit. Everytime you run Test.exe another instance is added. This creates a problem if one put the exe on a server. If you use Set 0Gui instead, although you say it does nothing, using Exit gives the same error, any way on all the computers I am using. I have three computers using Windows XP, one using Windows 7 and the work computer also on Windows XP and I get the same error on all of them. (All Service Pack 2) Hope it is clear. I probably do somethimg that is not correct. Thanks. Frans --- In [email protected], Dimitris Keletsekis <gui4cli@...> wrote: > > Hi, > > What executable are you using - the one included ? > > Off hand, I don't know what can be causing it. I have to run it in debug > mode and see if I can find anything. The problem is all the setting up > needed to reach that stage... :( > > The SET 0GUI command does nothing - or does it still crash? > > Dimitris > > > > On Wed, Jun 20, 2012 at 5:43 PM, Marianne <marianne976@...> wrote: > > > ** > > > > > > Demitris > > > > I encountered one problem with the above mentioned and I will appreciate > > some advice. > > > > If one compiles a script using the Normal or dll option one has to use the > > Quit command. If not then everytime you close the exe it is still running > > in the background. This I can see when I use Ctrl Alt Del. > > > > If I add the Quit command to a Normal executable everything works fine. > > However if I add the Quit command to an executable using the dll I got a > > Gui4Cli error when quitting. I also tried to use the Set 0Gui command with > > no succes. > > > > The message is xx.exe has stop working. > > > > This is happening on Windows XP and Windows 7. > > > > Kind regards. > > > > Frans > > > > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gui4cli/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/gui4cli/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/