i am trying to convert a function from c++ to masm syntaxies....
so here is the function declaration in masm:
but i get an erro at the db part of it....am i missin something?
the function prototpe in c++ is:
void *Test( HMODULE hModule, char *szDllName, char *szFunctionCall, DWORD FunctionPlacement )

what is wrong with my prototpe, and does it math the prototype in c++?
Posted on 2004-09-01 10:12:56 by ReVeR
in your proto you are doing db that mean declare byte, while in a proto you are only giving the signature or how look the function, best try use byte.

Anyway, you should see that there exist a diference between pass a byte or pass a pointer (4 bytes). You can use LPSTRZ in this case or a DWORD.
Posted on 2004-09-01 11:49:43 by rea