Hey all,
Seem to be having issues with getting an asm built DLL to link with a Visual Studio 2008/C++ project. I'm sure this used to work fine last time I tried with VS6.0.
ASM DLL is standard with a DEF file as follows:
LIBRARY testdll
EXPORTS
TestFunc
Assembler options per normal /c /coff .. linked using v6.0 of link .. generates DLL and LIB files fine.
In VC++ 2008 added lib file to linker input options and added the following prototype:
extern "C" void TestFunc();
also tried adding in __stdcall .. both come up with linker errors of unresolved external.
Any ideas?
Thanks!
Try in asm module : .model flat, c - that to add underscore :clap: