1. bad problem

I've noticed that everytime that I leave an EU program running (i.e. mike -
nz's editor in particular) and my monitor goes into sleep mode, I can't wake
the it up and have to hardware reset and reboot(even ctrl-alt-del is dead).
Without it running, wake-up works fine and does so over several days.

any Ideas??

..george

new topic     » topic index » view message » categorize

2. Re: bad problem

On 6 Aug 2001, at 11:31, George Walters wrote:

> 
> I've noticed that everytime that I leave an EU program running (i.e. mike -
> nz's editor in particular) and my monitor goes into sleep mode, I can't wake
> the it up and have to hardware reset and reboot(even ctrl-alt-del is dead).
> Without it running, wake-up works fine and does so over several days.

I had this same problem with another application a few months ago, and found no 
solution for it, but i suspect it caused by quick loops in the code, that for
some reason
the code doesn't deal with the OS grabbing the cpu back. Try putting some
sleep(0)
into the source after every "while" line? 

The code i was running was a internet app that used EInetLib_full.ew, but i
switched
everything over to tcp4u before i thought of this possible solution. My monitor
was
going to sleep, even tho all bios and os settings said "no sleep", and on
wakeup, i
discovered the *entire* puter was asleep, the clock had not been updated, the
internet
connection was off and no net application knew about it, and no code had been 
running anywhere on the puter.

Kat

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

3. Re: bad problem

The lockup when my monitor goes to sleep and can't be awakened is not the
only lockup issue. I've discovered that the program I've been working on,
customer file maintenance, that all have been helping me with, will also
lock up my telephone answering system which will answer the phone after 3
rings. If I kill my ARF020 program the phone system will immediately pick up
the line. I will certainly like to find a solution to this. What could EU be
doing (or I'm doing) that could cause this??

..george


----- Original Message -----
From: <gertie at ad-tek.net>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, August 06, 2001 3:57 PM
Subject: Re: bad problem


> >
> On 6 Aug 2001, at 11:31, George Walters wrote:
>
> >
> > I've noticed that everytime that I leave an EU program running (i.e.
mike -
> > nz's editor in particular) and my monitor goes into sleep mode, I can't
wake
> > the it up and have to hardware reset and reboot(even ctrl-alt-del is
dead).
> > Without it running, wake-up works fine and does so over several days.
>
> I had this same problem with another application a few months ago, and
found no
> solution for it, but i suspect it caused by quick loops in the code, that
for some reason
> the code doesn't deal with the OS grabbing the cpu back. Try putting some
sleep(0)
> into the source after every "while" line?
>
> The code i was running was a internet app that used EInetLib_full.ew, but
i switched
> everything over to tcp4u before i thought of this possible solution. My
monitor was
> going to sleep, even tho all bios and os settings said "no sleep", and on
wakeup, i
> discovered the *entire* puter was asleep, the clock had not been updated,
the internet
> connection was off and no net application knew about it, and no code had
been
> running anywhere on the puter.
>
> Kat
>
> >
> >
>
>

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

4. Re: bad problem

I've isolated the problem. When I launch my   program ARF020 using mike
carroll's editor  my system does not lock up. When the same program is
launched from mike's editor (the one written in eu, sorry I don't know this
mike's last name) the system will lock up as previously mentioned. I can
still select other programs from the task bar and they all will run fine.
Just this monitor wakeup lock, which is severe, and the telephone software
can't answer the phone...I hope this will give someone and idea of what's
going on so I can fix it...

..thanks... george

----- Original Message -----
From: <gertie at ad-tek.net>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, August 06, 2001 3:57 PM
Subject: Re: bad problem


>
> On 6 Aug 2001, at 11:31, George Walters wrote:
>
> >
> > I've noticed that everytime that I leave an EU program running (i.e.
mike -
> > nz's editor in particular) and my monitor goes into sleep mode, I can't
wake
> > the it up and have to hardware reset and reboot(even ctrl-alt-del is
dead).
> > Without it running, wake-up works fine and does so over several days.
>
> I had this same problem with another application a few months ago, and
found no
> solution for it, but i suspect it caused by quick loops in the code, that
for some reason
> the code doesn't deal with the OS grabbing the cpu back. Try putting some
sleep(0)
> into the source after every "while" line?
>
> The code i was running was a internet app that used EInetLib_full.ew, but
i switched
> everything over to tcp4u before i thought of this possible solution. My
monitor was
> going to sleep, even tho all bios and os settings said "no sleep", and on
wakeup, i
> discovered the *entire* puter was asleep, the clock had not been updated,
the internet
> connection was off and no net application knew about it, and no code had
been
> running anywhere on the puter.
>
> Kat
>
>
>
>
>

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

5. Re: bad problem

On Tuesday 07 August 2001 10:09, George Walters wrote:
>
> The lockup when my monitor goes to sleep and can't be awakened is not the
> only lockup issue. I've discovered that the program I've been working on,
> customer file maintenance, that all have been helping me with, will also
> lock up my telephone answering system which will answer the phone after 3
> rings. If I kill my ARF020 program the phone system will immediately pick
> up the line. I will certainly like to find a solution to this. What could
> EU be doing (or I'm doing) that could cause this??

Have you tried running the system resources monitor while doing this?
It might prove interesting.

Regards,
Irv
> ..george
>
>
> ----- Original Message -----
> From: <gertie at ad-tek.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Monday, August 06, 2001 3:57 PM
> Subject: Re: bad problem
>
> > On 6 Aug 2001, at 11:31, George Walters wrote:
> > > I've noticed that everytime that I leave an EU program running (i.e.
>
> mike -
>
> > > nz's editor in particular) and my monitor goes into sleep mode, I can't
>
> wake
>
> > > the it up and have to hardware reset and reboot(even ctrl-alt-del is
>
> dead).
>
> > > Without it running, wake-up works fine and does so over several days.
> >
> > I had this same problem with another application a few months ago, and
>
> found no
>
> > solution for it, but i suspect it caused by quick loops in the code, that
>
> for some reason
>
> > the code doesn't deal with the OS grabbing the cpu back. Try putting some
>
> sleep(0)
>
> > into the source after every "while" line?
> >
> > The code i was running was a internet app that used EInetLib_full.ew, but
>
> i switched
>
> > everything over to tcp4u before i thought of this possible solution. My
>
> monitor was
>
> > going to sleep, even tho all bios and os settings said "no sleep", and on
>
> wakeup, i
>
> > discovered the *entire* puter was asleep, the clock had not been updated,
>
> the internet
>
> > connection was off and no net application knew about it, and no code had
>
> been
>
> > running anywhere on the puter.
> >
> > Kat
>
>

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

6. Re: bad problem

don't know how to do that...

..george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> On Tuesday 07 August 2001 10:09, George Walters wrote:
> >
> > The lockup when my monitor goes to sleep and can't be awakened is not
the
> > only lockup issue. I've discovered that the program I've been working
on,
> > customer file maintenance, that all have been helping me with, will also
> > lock up my telephone answering system which will answer the phone after
3
> > rings. If I kill my ARF020 program the phone system will immediately
pick
> > up the line. I will certainly like to find a solution to this. What
could
> > EU be doing (or I'm doing) that could cause this??
>
> Have you tried running the system resources monitor while doing this?
> It might prove interesting.
>
> Regards,
> Irv
> > ..george
> >
> >
> > ----- Original Message -----
> > From: <gertie at ad-tek.net>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Monday, August 06, 2001 3:57 PM
> > Subject: Re: bad problem
> >
> > > On 6 Aug 2001, at 11:31, George Walters wrote:
> > > > I've noticed that everytime that I leave an EU program running (i.e.
> >
> > mike -
> >
> > > > nz's editor in particular) and my monitor goes into sleep mode, I
can't
> >
> > wake
> >
> > > > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> >
> > dead).
> >
> > > > Without it running, wake-up works fine and does so over several
days.
> > >
> > > I had this same problem with another application a few months ago, and
> >
> > found no
> >
> > > solution for it, but i suspect it caused by quick loops in the code,
that
> >
> > for some reason
> >
> > > the code doesn't deal with the OS grabbing the cpu back. Try putting
some
> >
> > sleep(0)
> >
> > > into the source after every "while" line?
> > >
> > > The code i was running was a internet app that used EInetLib_full.ew,
but
> >
> > i switched
> >
> > > everything over to tcp4u before i thought of this possible solution.
My
> >
> > monitor was
> >
> > > going to sleep, even tho all bios and os settings said "no sleep", and
on
> >
> > wakeup, i
> >
> > > discovered the *entire* puter was asleep, the clock had not been
updated,
> >
> > the internet
> >
> > > connection was off and no net application knew about it, and no code
had
> >
> > been
> >
> > > running anywhere on the puter.
> > >
> > > Kat
> >
> >
>
>
>
>
>

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

7. Re: bad problem

I found a couple of system tools (resource meter, system monitor) in the
accessories/systemtools and the cpu usage was less than 10pct and the
resoruce meter said 77+ pct resoruces were free...

...george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> On Tuesday 07 August 2001 10:09, George Walters wrote:
> >
> > The lockup when my monitor goes to sleep and can't be awakened is not
the
> > only lockup issue. I've discovered that the program I've been working
on,
> > customer file maintenance, that all have been helping me with, will also
> > lock up my telephone answering system which will answer the phone after
3
> > rings. If I kill my ARF020 program the phone system will immediately
pick
> > up the line. I will certainly like to find a solution to this. What
could
> > EU be doing (or I'm doing) that could cause this??
>
> Have you tried running the system resources monitor while doing this?
> It might prove interesting.
>
> Regards,
> Irv
> > ..george
> >
> >
> > ----- Original Message -----
> > From: <gertie at ad-tek.net>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Monday, August 06, 2001 3:57 PM
> > Subject: Re: bad problem
> >
> > > On 6 Aug 2001, at 11:31, George Walters wrote:
> > > > I've noticed that everytime that I leave an EU program running (i.e.
> >
> > mike -
> >
> > > > nz's editor in particular) and my monitor goes into sleep mode, I
can't
> >
> > wake
> >
> > > > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> >
> > dead).
> >
> > > > Without it running, wake-up works fine and does so over several
days.
> > >
> > > I had this same problem with another application a few months ago, and
> >
> > found no
> >
> > > solution for it, but i suspect it caused by quick loops in the code,
that
> >
> > for some reason
> >
> > > the code doesn't deal with the OS grabbing the cpu back. Try putting
some
> >
> > sleep(0)
> >
> > > into the source after every "while" line?
> > >
> > > The code i was running was a internet app that used EInetLib_full.ew,
but
> >
> > i switched
> >
> > > everything over to tcp4u before i thought of this possible solution.
My
> >
> > monitor was
> >
> > > going to sleep, even tho all bios and os settings said "no sleep", and
on
> >
> > wakeup, i
> >
> > > discovered the *entire* puter was asleep, the clock had not been
updated,
> >
> > the internet
> >
> > > connection was off and no net application knew about it, and no code
had
> >
> > been
> >
> > > running anywhere on the puter.
> > >
> > > Kat
> >
> >
>
>
>
>
>

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

8. Re: bad problem

On Tuesday 07 August 2001 11:39, George Walters wrote:
>
> don't know how to do that...

On Win98 it's Start/Programs/Accessories/System Tools/Resource Meter.

Your mileage may vary...etc.

Regards,
Irv

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

9. Re: bad problem

http://www.sysinternals.com

grab a copy of everything these guys have to offer.
they're free utilities for TCP/IP scanning, file monitoring,
process exploring, registry monitoring,  etc..etc.

I like the process explorer because it will show all of
the running processes on my machine and let me kill
any of them, if I see fit.

If Im not mistaken, they also have a application explorer
to show/dump memory, in otherwords, they have some pretty
cool stuff.

Euman
euman at bellsouth.net

----- Original Message ----- 
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, August 07, 2001 10:39
Subject: Re: bad problem


> 
> don't know how to do that...
> 
> ..george
> 
> ----- Original Message -----
> From: "Irv Mullins" <irvm at ellijay.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Tuesday, August 07, 2001 11:23 AM
> Subject: Re: bad problem
> 
> 
> >
> > On Tuesday 07 August 2001 10:09, George Walters wrote:
> > >
> > > The lockup when my monitor goes to sleep and can't be awakened is not
> the
> > > only lockup issue. I've discovered that the program I've been working
> on,
> > > customer file maintenance, that all have been helping me with, will also
> > > lock up my telephone answering system which will answer the phone after
> 3
> > > rings. If I kill my ARF020 program the phone system will immediately
> pick
> > > up the line. I will certainly like to find a solution to this. What
> could
> > > EU be doing (or I'm doing) that could cause this??
> >
> > Have you tried running the system resources monitor while doing this?
> > It might prove interesting.
> >
> > Regards,
> > Irv
> > > ..george
> > >
> > >
> > > ----- Original Message -----
> > > From: <gertie at ad-tek.net>
> > > To: "EUforum" <EUforum at topica.com>
> > > Sent: Monday, August 06, 2001 3:57 PM
> > > Subject: Re: bad problem
> > >
> > > > On 6 Aug 2001, at 11:31, George Walters wrote:
> > > > > I've noticed that everytime that I leave an EU program running (i.e.
> > >
> > > mike -
> > >
> > > > > nz's editor in particular) and my monitor goes into sleep mode, I
> can't
> > >
> > > wake
> > >
> > > > > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> > >
> > > dead).
> > >
> > > > > Without it running, wake-up works fine and does so over several
> days.
> > > >
> > > > I had this same problem with another application a few months ago, and
> > >
> > > found no
> > >
> > > > solution for it, but i suspect it caused by quick loops in the code,
> that
> > >
> > > for some reason
> > >
> > > > the code doesn't deal with the OS grabbing the cpu back. Try putting
> some
> > >
> > > sleep(0)
> > >
> > > > into the source after every "while" line?
> > > >
> > > > The code i was running was a internet app that used EInetLib_full.ew,
> but
> > >
> > > i switched
> > >
> > > > everything over to tcp4u before i thought of this possible solution.
> My
> > >
> > > monitor was
> > >
> > > > going to sleep, even tho all bios and os settings said "no sleep", and
> on
> > >
> > > wakeup, i
> > >
> > > > discovered the *entire* puter was asleep, the clock had not been
> updated,
> > >
> > > the internet
> > >
> > > > connection was off and no net application knew about it, and no code
> had
> > >
> > > been
> > >
> > > > running anywhere on the puter.
<snip>

> 
>

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

10. Re: bad problem

On Tuesday 07 August 2001 11:53, George Walters wrote:
>
> I found a couple of system tools (resource meter, system monitor) in the
> accessories/systemtools and the cpu usage was less than 10pct and the
> resoruce meter said 77+ pct resoruces were free...

Let the programs run for a while, and watch the resources.
When running Mike'e editor along with other Euphoria programs, mine 
goes from 89% free down to 40% in a few hours. But only sometimes.
It's unpredictable.

Regards,
Irv

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

11. Re: bad problem

On Tuesday 07 August 2001 11:23, Irv Mullins wrote:
>
> On Tuesday 07 August 2001 10:09, George Walters wrote:
> > The lockup when my monitor goes to sleep and can't be awakened is not the
> > only lockup issue. I've discovered that the program I've been working on,
> > customer file maintenance, that all have been helping me with, will also
> > lock up my telephone answering system which will answer the phone after 3
> > rings. If I kill my ARF020 program the phone system will immediately pick
> > up the line. I will certainly like to find a solution to this. What could
> > EU be doing (or I'm doing) that could cause this??

It would be important to find out whether *any* Euphoria program does this, 
or just your ARF program. Try running something substantial such as Judith's 
IDE and see what the phone does.

Regards,
Irv

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

12. Re: bad problem

Irv,
    I ran Judith's IDE from Mike - nz's editor and it did the same thing, so
it's not probably an  ARF issue.. as soon as I exited the IDE the phone
software picked up the phone. I also ran a couple of the example programs
and the same thing occurred...

..george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> On Tuesday 07 August 2001 11:23, Irv Mullins wrote:
> >
> > On Tuesday 07 August 2001 10:09, George Walters wrote:
> > > The lockup when my monitor goes to sleep and can't be awakened is not
the
> > > only lockup issue. I've discovered that the program I've been working
on,
> > > customer file maintenance, that all have been helping me with, will
also
> > > lock up my telephone answering system which will answer the phone
after 3
> > > rings. If I kill my ARF020 program the phone system will immediately
pick
> > > up the line. I will certainly like to find a solution to this. What
could
> > > EU be doing (or I'm doing) that could cause this??
>
> It would be important to find out whether *any* Euphoria program does
this,
> or just your ARF program. Try running something substantial such as
Judith's
> IDE and see what the phone does.
>
> Regards,
> Irv
>
>
>
>
>

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

13. Re: bad problem

Irv,
    If I am in edit mode in mike's editor all works fine. It's when I click
the 'execute' button and launch a program it must lock up some resource
needed by the phone software and the monitor wakeup software. I've no idea
what that could be...

..george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> On Tuesday 07 August 2001 11:23, Irv Mullins wrote:
> >
> > On Tuesday 07 August 2001 10:09, George Walters wrote:
> > > The lockup when my monitor goes to sleep and can't be awakened is not
the
> > > only lockup issue. I've discovered that the program I've been working
on,
> > > customer file maintenance, that all have been helping me with, will
also
> > > lock up my telephone answering system which will answer the phone
after 3
> > > rings. If I kill my ARF020 program the phone system will immediately
pick
> > > up the line. I will certainly like to find a solution to this. What
could
> > > EU be doing (or I'm doing) that could cause this??
>
> It would be important to find out whether *any* Euphoria program does
this,
> or just your ARF program. Try running something substantial such as
Judith's
> IDE and see what the phone does.
>
> Regards,
> Irv
>
>
>
>
>

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

14. Re: bad problem

Irv wrote....

> It would be important to find out whether *any* Euphoria program does
this,
> or just your ARF program. Try running something substantial such as
Judith's
> IDE and see what the phone does.

I had exactly the same problem as George with a Morfit
sample I converted from C to Eu. I could leave the
original Morfit exe running all night and my computer
would happily wake up. My Eu conversion (which I
could swear was a plain, simple conversion) simply
wouldn't come out of sleep. In the end, I switched off
the "sleep" in Windows (and the bios from memory).

I wonder if translating to C and then compiling to exe
might fix it? Back when I did the Morfit sample we
didn't have the translator.

Mark

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

15. Re: bad problem

In addition to my previous reply, I also *think* that
the refusal to wake up also occurred when bound as an 
exe ie. not run from my editor (which was MEdit).
 
> Irv wrote....
> 
> > It would be important to find out whether *any* Euphoria program does
> this,
> > or just your ARF program. Try running something substantial such as
> Judith's
> > IDE and see what the phone does.
> 
> I had exactly the same problem as George with a Morfit
> sample I converted from C to Eu. I could leave the
> original Morfit exe running all night and my computer
> would happily wake up. My Eu conversion (which I
> could swear was a plain, simple conversion) simply
> wouldn't come out of sleep. In the end, I switched off
> the "sleep" in Windows (and the bios from memory).
> 
> I wonder if translating to C and then compiling to exe
> might fix it? Back when I did the Morfit sample we
> didn't have the translator.
> 
> Mark

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

16. Re: bad problem

Well, I've tested a lot Mike's editor (the eu4 one) and I think
there're still some memory leaks on it. Maybe that could be the
problem. Also if your're running win9x it's innapropiate to leave it on
during the day without a simple reset, it seems that's not ready to do
such things, and makes the whole system slower until a reset. I didn't
have this problems with NT or Linux.
When I got back to my city I'll try to watch for some bug on the
editor.

Hope this helps,
    Guillermo BonvehĂ­

--- George Walters <gwalters at sc.rr.com> wrote:
> 
> I've isolated the problem. When I launch my   program ARF020 using
> mike
> carroll's editor  my system does not lock up. When the same program
> is
> launched from mike's editor (the one written in eu, sorry I don't
> know this
> mike's last name) the system will lock up as previously mentioned. I
> can
> still select other programs from the task bar and they all will run
> fine.
> Just this monitor wakeup lock, which is severe, and the telephone
> software
> can't answer the phone...I hope this will give someone and idea of
> what's
> going on so I can fix it...
> 
> ..thanks... george
> 
> ----- Original Message -----
> From: <gertie at ad-tek.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Monday, August 06, 2001 3:57 PM
> Subject: Re: bad problem
> 
> 
> >
> > On 6 Aug 2001, at 11:31, George Walters wrote:
> >
> > >
> > > I've noticed that everytime that I leave an EU program running
> (i.e.
> mike -
> > > nz's editor in particular) and my monitor goes into sleep mode, I
> can't
> wake
> > > the it up and have to hardware reset and reboot(even ctrl-alt-del
> is
> dead).
> > > Without it running, wake-up works fine and does so over several
> days.
> >
> > I had this same problem with another application a few months ago,
> and
> found no
> > solution for it, but i suspect it caused by quick loops in the
> code, that
> for some reason
> > the code doesn't deal with the OS grabbing the cpu back. Try
> putting some
> sleep(0)
> > into the source after every "while" line?
> >
> > The code i was running was a internet app that used
> EInetLib_full.ew, but
> i switched
> > everything over to tcp4u before i thought of this possible
> solution. My
> monitor was
> > going to sleep, even tho all bios and os settings said "no sleep",
> and on
> wakeup, i
> > discovered the *entire* puter was asleep, the clock had not been
> updated,
> the internet
> > connection was off and no net application knew about it, and no
> code had
> been
> > running anywhere on the puter.
> >
> > Kat
> >
> >
> >
> >
> >
> 
> 
> 
> 
>

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

17. Re: bad problem

Just to check, I executed ARF020 directly from a dos prompt (exw arf020) and
the phone software works fine...

..george

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

18. 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

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

19. Re: bad problem

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

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

20. Re: bad problem

----- Original Message -----
From: George Walters <gwalters at sc.rr.com>
Subject: Re: bad problem


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

I don't think you can set an onClick[] event that way.. AFAIK, it needs a
routine_id. Besides which, system_exec is a function, and returns
success/fail code,
so what your progam is doing is calling system_exec on startup, and
assigning the
return value to the onClick event.

Pretty much guaranteed not to work.

Try this instead:
--  code generated by Win32Lib IDE v0.10.5

include Win32Lib.ew
without warning

----
--  Window Window1
global constant Window1 = create( Window, "Window1", 0, Default, Default,
400, 300, 0 )
global constant PushButton2 = create( PushButton, "PushButton2", Window1,
52, 16, 90, 30, 0 )
----
procedure PushButton2_onClick ()
atom ok
 ok = system_exec("exw d:/euphoria/training/arf020.exw",1) -- try zero, also
end procedure
onClick[PushButton2] = routine_id("PushButton2_onClick")

WinMain( Window1, Normal )

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

21. Re: bad problem

i ran your version and it killed the phone. Arguments of 0 and 1 made no
difference...

..george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
>
> ----- Original Message -----
> From: George Walters <gwalters at sc.rr.com>
> To: EUforum <EUforum at topica.com>
> Sent: Tuesday, August 07, 2001 2:41 PM
> Subject: Re: bad problem
>
>
> >
> > 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
>
> I don't think you can set an onClick[] event that way.. AFAIK, it needs a
> routine_id. Besides which, system_exec is a function, and returns
> success/fail code,
> so what your progam is doing is calling system_exec on startup, and
> assigning the
> return value to the onClick event.
>
> Pretty much guaranteed not to work.
>
> Try this instead:
> --  code generated by Win32Lib IDE v0.10.5
>
> include Win32Lib.ew
> without warning
>
> ----
> --  Window Window1
> global constant Window1 = create( Window, "Window1", 0, Default, Default,
> 400, 300, 0 )
> global constant PushButton2 = create( PushButton, "PushButton2", Window1,
> 52, 16, 90, 30, 0 )
> ----
> procedure PushButton2_onClick ()
> atom ok
>  ok = system_exec("exw d:/euphoria/training/arf020.exw",1) -- try zero,
also
> end procedure
> onClick[PushButton2] = routine_id("PushButton2_onClick")
>
> WinMain( Window1, Normal )
>
>
>
>
>

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

22. Re: bad problem

On 7 Aug 2001, at 11:23, Irv Mullins wrote:

> 
> On Tuesday 07 August 2001 10:09, George Walters wrote:
> >
> > The lockup when my monitor goes to sleep and can't be awakened is not the
> > only lockup issue. I've discovered that the program I've been working on,
> > customer file maintenance, that all have been helping me with, will also
> > lock up my telephone answering system which will answer the phone after 3
> > rings. If I kill my ARF020 program the phone system will immediately pick
> > up the line. I will certainly like to find a solution to this. What could
> > EU be doing (or I'm doing) that could cause this??
> 
> Have you tried running the system resources monitor while doing this?
> It might prove interesting.

This doesn't use the resourses,, it's still a problem with 50% free on my
computer.

Kat

> Regards,
> Irv
> > ..george
> >
> >
> > ----- Original Message -----
> > From: <gertie at ad-tek.net>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Monday, August 06, 2001 3:57 PM
> > Subject: Re: bad problem
> >
> > > On 6 Aug 2001, at 11:31, George Walters wrote:
> > > > I've noticed that everytime that I leave an EU program running (i.e.
> >
> > mike -
> >
> > > > nz's editor in particular) and my monitor goes into sleep mode, I can't
> >
> > wake
> >
> > > > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> >
> > dead).
> >
> > > > Without it running, wake-up works fine and does so over several days.
> > >
> > > I had this same problem with another application a few months ago, and
> >
> > found no
> >
> > > solution for it, but i suspect it caused by quick loops in the code, that
> >
> > for some reason
> >
> > > the code doesn't deal with the OS grabbing the cpu back. Try putting some
> >
> > sleep(0)
> >
> > > into the source after every "while" line?
> > >
> > > The code i was running was a internet app that used EInetLib_full.ew, but
> >
> > i switched
> >
> > > everything over to tcp4u before i thought of this possible solution. My
> >
> > monitor was
> >
> > > going to sleep, even tho all bios and os settings said "no sleep", and on
> >
> > wakeup, i
> >
> > > discovered the *entire* puter was asleep, the clock had not been updated,
> >
> > the internet
> >
> > > connection was off and no net application knew about it, and no code had
> >
> > been
> >
> > > running anywhere on the puter.
> > >
> > > Kat
> >
> >
> 
> 
> 
> 
>

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

23. Re: bad problem

On Tuesday 07 August 2001 20:09, Matthew Lewis wrote:

> From: "Irv Mullins" <irvm at ellijay.com>
>
> I don't think that there's anything win32lib is doing to mess things up,
> but rather than system_exec, you could try win32lib's shellExecute/Ex.  I
> don't know how Rob implements system_exec, but shellExecute calls the Win32
> API routine designed expressly for starting new processes in windows.

Good suggestion. Since George is the only one who has a repeatable 
test for this fault, we'll let George do it.

If this is successful, it may provide an answer to some other puzzling 
problems.

Regards,
Irv

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

24. Re: bad problem

I can't try shellExecuteEx. The doc does not describe the parameters nor
give an example. If you can describe them to me I'll give that a try also.

..george

----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> On Tuesday 07 August 2001 20:09, Matthew Lewis wrote:
>
> > From: "Irv Mullins" <irvm at ellijay.com>
> >
> > I don't think that there's anything win32lib is doing to mess things up,
> > but rather than system_exec, you could try win32lib's shellExecute/Ex.
I
> > don't know how Rob implements system_exec, but shellExecute calls the
Win32
> > API routine designed expressly for starting new processes in windows.
>
> Good suggestion. Since George is the only one who has a repeatable
> test for this fault, we'll let George do it.
>
> If this is successful, it may provide an answer to some other puzzling
> problems.
>
> Regards,
> Irv
>
>
>
>
>

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

25. Re: bad problem

> I've noticed that everytime that I leave an EU program running (i.e.
mike -
> nz's editor in particular) and my monitor goes into sleep mode, I can't
wake
> the it up and have to hardware reset and reboot(even ctrl-alt-del is
dead).
> Without it running, wake-up works fine and does so over several days.
>
> any Ideas??
>
> ..george

I've got an Energy Star monitor and it wakes up anytime Eu programs
is running. But sometimes I got the same problems with another programs.
This is not problem of Eu. There is a problem with APM. Try to update
your BIOS and Win drivers. Also look in BIOS and try to turn off some
APM features.

Regards,
    Martin

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

26. Re: bad problem

I might agree with you except that the issue with the modem has problems
also and without EU I have no problems at all. I'll see if there are any
updates to the bios..

..george

----- Original Message -----
From: <martin.stachon at worldonline.cz>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


> >
> > I've noticed that everytime that I leave an EU program running (i.e.
> mike -
> > nz's editor in particular) and my monitor goes into sleep mode, I can't
> wake
> > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> dead).
> > Without it running, wake-up works fine and does so over several days.
> >
> > any Ideas??
> >
> > ..george
>
> I've got an Energy Star monitor and it wakes up anytime Eu programs
> is running. But sometimes I got the same problems with another programs.
> This is not problem of Eu. There is a problem with APM. Try to update
> your BIOS and Win drivers. Also look in BIOS and try to turn off some
> APM features.
>
> Regards,
>     Martin
>
> >
> >
>
>

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

27. Re: bad problem

On 6 Aug 2001, at 19:35, martin.stachon at worldonline.cz wrote:

> > 
> > I've noticed that everytime that I leave an EU program running (i.e.
> mike -
> > nz's editor in particular) and my monitor goes into sleep mode, I can't
> wake
> > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> dead).
> > Without it running, wake-up works fine and does so over several days.
> >
> > any Ideas??
> >
> > ..george
> 
> I've got an Energy Star monitor and it wakes up anytime Eu programs
> is running. But sometimes I got the same problems with another programs.
> This is not problem of Eu. There is a problem with APM. Try to update
> your BIOS and Win drivers. Also look in BIOS and try to turn off some
> APM features.
> 

That's not it either, i suspect, since the clock is not supposed to be put to 
sleep with the monitor.

Kat

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

28. Re: bad problem

I can confirm Martin's observations. I too have an Energy Star monitor and
it also used to lock up my machine when it went to sleep. I went to the BIOS
and the Control Panel's power settings and made sure the monitor would not
go into any sleep mode. There has been no troubles since then.

----- Original Message -----
From: <martin.stachon at worldonline.cz>
To: "EUforum" <EUforum at topica.com>
Subject: Re: bad problem


>
> > I've noticed that everytime that I leave an EU program running (i.e.
> mike -
> > nz's editor in particular) and my monitor goes into sleep mode, I can't
> wake
> > the it up and have to hardware reset and reboot(even ctrl-alt-del is
> dead).
> > Without it running, wake-up works fine and does so over several days.
> >
> > any Ideas??
> >
> > ..george
>
> I've got an Energy Star monitor and it wakes up anytime Eu programs
> is running. But sometimes I got the same problems with another programs.
> This is not problem of Eu. There is a problem with APM. Try to update
> your BIOS and Win drivers. Also look in BIOS and try to turn off some
> APM features.
>
> Regards,
>     Martin
>
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu