When puting the code to a static library the program crash in msvcr80.dll

Started by
1 comment, last by MJP 16 years ago
Hi there I put my code in a static lib - and then link it to my program - it compiles fine but when it starts running it crashes in msvcr80.dll. Can you guys tell me what could be the problem? Thanks alot
Advertisement
can you please post the "crash"??
I have no idea if this is your problem (since you haven't posted the crash), but you need to make sure that both your static lib and the code that's importing it are compiled with the same version of the CRT. Especially if you're going to be passing allocating and deallocating memory on both sides of the library boundary.

This topic is closed to new replies.

Advertisement