Can I use a Visual Studio 6 compiled C++ static library in Visual Studio 2008?
Is it possible to use a C++ static library (.lib) compiled using Visual Studio 6 in Visual Studio 2008? I shouldn't think why not - as long as you keep the usual CRT memory boundaries (ie if you allocate memory inside a library function, always free it from inside the library - by calling a function in the lib to do the freeing). this approach works fine for dlls compiled with all kinds of compilers, statically linked libs should be ok too. It really depends. Does the lib expose only 'extern "C"' functions where memory is either managed by straight Win32 methods (CoTaskMemAlloc, etc) or the