Hi Garry, i have no problems using VS.NET in any version... i find them to behave very similar.
however, i think you also have to tell the linker that you want to export the setup-function via the "/export:obj1_setup" flag. (i think that "__declspec(dllexport)" is just for the compiler)
that should not be necessary. Would you mind posting your obj1 file?
I'm not too familiar with Visual Studio. Is their a tool to inspect the dll's symbol table. At least then i will know the dll is ok. I will try to find a machine with VS6 and compile the code there to see if that sorts it out.
try "dumpbin /exports my.dll"
best, Thomas