PeterB: wrapping my DLL code in the extern statement did the trick. Thanks. Can you explain why this is necessary, though? I know using an extern "C" block tells the compiler to use C linkage for the ...