i'm not sure if i am right here, well - i've a question about the masm/c calling convention... how the hell could i call a cpp function from masm ? i mean calling a masm function from my cpp object file works without problems, but the same backwards does not. i would be glad if someone could help me out.
Posted on 2000-11-28 03:00:00 by supi ama
supi\rama, You have basically 2 types of calling conventions involved, STDCALL and C. Windows API calls almost exclusively use STDCALL. To call the CPP functions from MASM, you probably need to specify the C calling convention in the prototype you write for it. YourFunction PROTO C :DWORD,:DWORD etc.... Regards, hutch@pbq.com.au
Posted on 2000-11-28 03:22:00 by hutch--