Question: Importing such a function (CDECL) in MASM

Started by hmi222, December 17, 2010, 11:24:57 AM

Previous topic - Next topic

hmi222

Hello!
I tried to import the function "unpackObj" from an external objectfile with different ways.
One time with proto C , then with extern C.
I always get error.
error A2006: undefined symbol : ?unpackObj@@YAXPAUqoobo_s@@PAUobj_s@@@Z

So i made an dumbin of the objectfile.
Dumbin:
19C 00000000 SECT94 notype ()    External     | ?unpackObj@@YAXPAUqoobo_s@@PAUobj_s@@@Z (void __cdecl unpackObj(struct qoobo_s *,struct obj_s *))

I hope there is somebody, who can give me a link who to import that.

Thanx in advance
hmi222