--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > > > --- In [email protected], "brucexs" <brucexs@> wrote: > > > When I run, the loadmodule fails with getlasterror 998, invalid access to > > memory location. Some quick googling turned up nothing interesting. > > Okay, sounds like I must have screwed up some global or class static -- > something that would be allocated before the module started to execute.
Fixed. Wrote a one line winmain(), called LoadLibrary with hardcoded path to evil dll, but first setting, first setting exception handling to stop dead on a C0000005 Access Violation. http://support.microsoft.com/kb/196069 That gave me a stack to look at, and indeed I'd tried to set a static before object came into existence. Silly me.
