Re: Dynamic calling

new topic     » goto parent     » topic index » view thread      » older message » newer message
eukat said...

Re:

http://openeuphoria.org/docs/eu400_0095.html

It's not clear to me what can be put into allocated memory marked as executeable.

Anything can be put in there. But the intention is to put machine code in that location and have the cpu execute it. (If DEP is on, and the allocated memory is not marked as executable, and you try to run the machine code in there, the program will be terminated with a GPE violation or similiar error.)

eukat said...

If i do this, say, 2000 times, is memory going to be so fragmented that winxp is nuked?

Marking it as executable doesn't make memory any more or less fragmented. So the answer is the same as it was for 3.1.1

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

Search



Quick Links

User menu

Not signed in.

Misc Menu