win32api and readprocessmemory problem.. sojo, james, tracer? HELP!

Blitz3D Forums/Blitz3D Programming/win32api and readprocessmemory problem.. sojo, james, tracer? HELP!

Her eare some issues I've noticed after looking at it for a minute:

1) Your bank (pip) should be at least 4 bytes, though it wouldn't hurt to be more.
2) You can't rely on the calc process' base address the be the same all the time. You have to get that information somehow, and use that instead of 77d43999. (I'm not sure how ATM.)
3) If you want to pass in NULL, just declare the parameter as % and then pass in 0. (You were doing that, but a little bit strangely.)

If you haven't made any headway, I'll take a look after I get a good night's sleep.

PS: It's trivial, but you may be interested to know that you can put any number of declarations for any number of libraries in a single .decls file, as long as they're seperated by the appropriate .lib directive.