extern "C" __declspec( dllexport ) void Test( Map & m )
//keep getting access violations as soon as I try to use m
int i = m;
int j = m;
/* ======== .exe file =================== */
The .exe file is a very simple main() which calls Test() with a map it creates. I get the access violation whether I link dynamically using "LoadLibrary()" or statically by linking with the .lib.