Poke-ing memory allocated through Windows function

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

All,

Well, I fixed the code section I posted earlier to put HTML formatted text to
the clipboard.  No more memory problems so far (I'll post the updated code for
any who are interested).

What I'm curious about is: I thought Euphoria would not poke() to an address if
it wasn't allocated through allocate().  In my clipboard code I had to use
Window's GlobalAlloc to allocate the memory and then I wondered how to poke the
data, either through another Windows function or poke().  I tried poke() and it
worked.

Can anyone clear this up for me?

Jonas Temple
http://www.yhti.net/~jktemple

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

Search



Quick Links

User menu

Not signed in.

Misc Menu