Given that the entry point of a dll takes 3 parameters, I assume the
correct way to clean the stack is by doing "RET 12"

Now, Ive seen cases of dlls that do "RET" or "RET 16"
They seem to work, I assume this is because they get executed
under "special" conditions. (dont call apis)

But, its nice to conform to the standards, and I assume that the
stdcall standard says "RET 12" ??

Thats what I do now anyways....
Posted on 2002-07-31 17:09:06 by assant
Posted on 2002-07-31 17:12:48 by comrade
Thank you
Posted on 2002-07-31 17:29:11 by assant