How can I link a LIB against DLL, see error LNK2038 RuntimeLibrary symbol

  • Thread starter Thread starter rahoyo
  • Start date Start date
R

rahoyo

Guest
Hi everyone, I am facing a probem, I need generate a dll project, and also I need to import an static library. but doing so I'm getting LNK2038 linker error.

After a research I find it's due to some symbols MSVC defines in order to take care about prevent the linking of incompatible code, which can cause run-time errors or other unexpected behavior.

I would like to know if it possible to include a LIB into DLL file, or I need the DLL version of the LIB.

Continue reading...
 
Back
Top