The MASM Forum Archive 2004 to 2012

Specialised Projects => Compiler Based Assembler => Assembler With Microsoft Visual C => Topic started by: hmi222 on December 17, 2010, 11:24:57 AM

Title: Question: Importing such a function (CDECL) in MASM
Post by: hmi222 on December 17, 2010, 11:24:57 AM
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
Title: Re: Question: Importing such a function (CDECL) in MASM
Post by: hmi222 on December 17, 2010, 11:29:25 AM
Found same..
thanx...

http://www.masm32.com/board/index.php?topic=5594.0