Dumb question been away awhile;

Anyone know how to get a DLL coded in assembly to link in with a Visual C proggi?

Thnaks in advance
Posted on 2003-02-06 04:06:58 by edgarbrits
Hi dude,

Glad to see you back. What you are after is simple, create the DLL in MASM, this will give you the library with the exported functions, write the prototypes for the functions in VC and include the library when you do the build. Make sure the calling conventions are correct between the DLL and the C prototypes.

Just make sure you use the appropriate EXTERN C syntax so you don't get mangled names.

Regards,

hutch@movsd.com
Posted on 2003-02-06 05:33:09 by hutch--
Posted on 2003-02-06 10:37:38 by Thomas