Re: API curiosity

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

Welcome to the world of Euphoria's garbage collection blink.  Whenever you
use allocate, you should lock the memory location so it doesn't get
swapped out.  I honestly can't think of a case where you wouldn't lock
the memory after allocating, but maybe someone else can.

Michael J. Sabal

>>> wolfritz at KING.IGS.NET 02/14/02 12:48PM >>>
I was quite surprised that this wouldn't work, because once the title
had been changed by the first xSetWindowText(),
the memory pointed to by 'normal' no longer contained the 'literal'
string "Normal Title".
So much for re-useability...
... just guessing by the gibberish contained in the title bar, it may
even be a pointer ?
If this is the case, how many other seemingly simple API functions do
weird things like this ?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu