Re: Euphoria and a suspended system

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Fri, 17 Mar 2000 22:02:14 +1030, Mark Brown <mabrown at SENET.COM.AU> wrote:

>Hi everyone again!!
>
>Does anyone know if Euphoria has any problems with a system (windows) that
has gone into suspended mode? I left a program running and when my system
went into suspend, nothing would make it recover but a reboot. I don't
THINK it's the program (the problem seems to be unique to the system
suspending) and it doesn't happen with an equivalent c++ program. The
computer also doesn't seem to crash as such.....it just wont wake up!! This
problem is consistent. It happens every time my computer has a snooze with
this euphoria program running. Any clues?
>

If I were going to take a wild, off-the-wall guess, I'd say that the
suspend feature is probably undercutting the CauseWay DOS Extender, but
this would only apply if it locks up under ex.exe and not exw.exe (I
think).  My other guess would be that you have a Compaq.  I've seen
problems like that before, and always been a Compaq bug that's caused it.

>
>Also, does anyone have any advice for me on whether or not I need to free
memory I have allocated from within a function or procedure. Should I free
the memory before the functions exits or will Euphoria do that anyway?
>

Yes.  I'm not sure if local allocations are freed automatically at the end
of a procedure (probably not), but it's a bad habit to get into to not free
them yourself.  You might end up doing that in a place that causes tons of
problems by accident.

>Thanks in advance
>
>Mark Brown
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu