1. RE: bad problem

George Walters wrote:
> I've not done this yet but here is what I did and it did kill the 
> phone..
> 
> I ran this directly from a dos prompt
> 
> include win32lib.ew
> 
> -- create a control in the window
> 
> constant
> TheWindow   = create( Window, "Close Window", 0, Default, Default, 200, 
> 100,
> 0 ),
> CloseButton = create( DefPushButton, "Close Window", TheWindow, 40, 10, 
> 120,
> 30, 0 )
> 
> 
> -- tell Windows when to do the action
> onClick[CloseButton] = system_exec("exw 
> d:/euphoria/training/arf020.exw",1)
> WinMain( TheWindow, Normal )
> 
> I didn't get a chance to click the button but it killed the phone
> anyway....Does this mean we have a problem with EU??
> 
> ..george
> 
> ----- Original Message -----
> From: "Irv Mullins" <irvm at ellijay.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Tuesday, August 07, 2001 1:44 PM
> Subject: Re: bad problem
> 
> 
> >
> > On Tuesday 07 August 2001 13:33, George Walters wrote:
> > >
> > > Just to check, I executed ARF020 directly from a dos prompt (exw arf020)
> > > and the phone software works fine...
> >
> > (That's a relief)
> >
> > So, it seems that something either within the editor, or the fact that 
> > it
> > calls another program (system or system_exec?) must be the problem.
> > At least in your case it seems to be repeatable.
> >
> > Try writing a small windows program with hothing but a button to exec 
> > your
> > ARF020 program, and see if it kills the phone.
> >
> > Let's hope it doesn't, because you may eventually want to be able to 
> > call
> > other programs from some main program.
> >
> > Regards,
> > Irv
> >

George:
  You could try running the simple window example using
  my w32engin.ew library and see if that kills the program
  because my library does thing differently than win32lib.
  That might tell if the problem is because of Euphoria or
  a confict with the win32lib.

Bernie

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu