RE: EuCOM crash's with a memory ref error
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 23, 2001
- 458 views
I've found the bug. It's bacause of IDispatch_Invoke_ (as mentioned in the docs). Since call backs can only take 8 arguments, and Invoke needs 9, the stack is getting corrupted. I've been working on a fix, and should have it in a day or so. Basically, I'm writing some ASM that is called instead of the routine itself. The ASM puts the params into memory and calls the function. Rob, any chance of getting this changed? We can call C routines with as many as 16 arguments, but they can only call us with up to 8. Matt Lewis > -----Original Message----- > From: Grape Vine [mailto:g__vine at hotmail.com] > When i run EuCOM it crash's with the error > > The instruction at 77fcb007 referenced memory at 00000000 > The memory could not be written > > Anyone else? This is on Win2K.