Re: Re: Executable using Gui4Cli.dll

Dimitris Keletsekis <[email protected]> Mon, 25 Jun 2012 20:15:27 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1Uxqhh+6jApNAcOBN2q-GdeigDWzoU9=guZ=dDJpnjtcQ@mail.gmail.com>
Hi,

I made the executable, but it works ok.. It takes a bit of time to exit
(maybe more than it should?), but it does exit. Here's the link (test.exe
in Files/Temp)

http://f1.grp.yahoofs.com/v1/EJnoTxhV08ihJCPErYYbcTpbVhoGmLc1U4YpXVzxiGJb3x5bijjU5Q6g3cTDMBcfXAfMtc-Hs42ILdlE/Temp/test.exe

Try this and tell me..
Dimitris



On Thu, Jun 21, 2012 at 5:09 PM, Marianne <[email protected]> wrote:

> **
>
>
> 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
> > >
> > >
> > >
> >
>
>  
>