I'm using Visual Studio 2010 to build my DLL library.
And, other programmer who's using Visual Studio 2005 wants to use my DLL library. He can compile with my dll, but, when running his application, it just crashes with bad_alloc exception. I assume that's because of different CRT version.
When building my DLL library, I tried both dynamic linking of CRT(/MD) and static linking of CRT(/MT), but both failed.
So, can't I make DLL library that can be used by lower version of visual studio? If not, how I can I do that?
class MF_API my_class {};
whereMF_API
is defined accordingly. – Daniel K.