<grunts>
Printable View
<grunts>
write some code then ;-)
td.
or you can see if you can find out what the letters ML stand for in my thread entitled ML
Or, learn how to read peoples minds, read mine, figure out what the problem I'm struggeling with is ( which I can't explain because I don't understand it) solve it and tell me the answer.
the answer is 42, next
according to the hitch hickers guide to the galaxy, the answer to everything is 42, so there is your answer
so..... 2 + 2 = 42?
depends, only if you add another 38 to it, or another 2
2 + 2 = 4 (+ meaning and) and another 2 equals 42
any other suggestions
actually, the answer was that If I keep the start address of my dynamicly loaded code segment in EFS and the start address of the expression entry point stack then the lea instruction can be usesed very effectivley to convert all addresses into 32bit pointers allowing near 32 bit calls.
which is closer to 41 i reckon
Fair enough - plenty going on :)
Sam - what do you mean by a near 32-bit call? I thought they were all in one homogenous (love that word :)) code segment?
well, it's a wierd old thing, I'm writing files containing executable code put in my own file format not a dll or exe or anything, so windows doesn't know how to run it, then I load the file direct into memory inside a COM object, then all it does is call C++ functions, which is exactly what we need, the truoble is there's no way of knowing where the file's going to be loaded into memory, which is why the segmented memory model would be perfect, trouble is VC++ doesn't want to do it that way and it limits us to 64KB of code, and looking into it the 32bit addressing model hasn't fully taken over yet, it just seems like it, (because windows moves memory around so much behind the scenes it needs some elements of the segmented model and the whole things a bit messy under the hood. but the lea function looks like it should take care of a lot.
It's just damn confusing.
Ouch. Sounds like fun :)
this is just a minor pondering point, the real fun is yet to start.
[Edited by Sam Finch on 11-18-2000 at 01:59 PM]