warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs

Hello All,

I am doing a program on VC8 with .NET 3.5 frame work. I generated my program using MFC.

My program using a two third party libraries. One library is build as statical library. It is giving a statical lib.
Another library is giving a DLL.

Statical library compiler settings are :

1) Configuration Properties->General->ConfigurationType is STATIC LIBRARY(.LIB)
2) C/C++ -> Code Generation -> Basic Runtime Checks as Both (/RTC1, equiv. to /RTCsu)
3) C/C++ -> Code Generation -> Runtime Library as Multi-threaded Debug DLL (/MDd)

2nd Third Party Library (Giving DLL finally)

1) Configuration Properties->General->ConfigurationType as Dynamic Library (.dll)
2) C/C++ -> Code Generation -> Basic Runtime Checks as Both (/RTC1, equiv. to /RTCsu)
3) C/C++ -> Code Generation -> Runtime Library as Multi-threaded Debug DLL (/MDd)

My program also having the same settings. And I also set manifest file generation to YES.

I am using these two libraries in my program. My program is compilied with out any errors. But when i execute my program it is giving runtime error "Error R6034 Unable to load C library". When I rebuild my solution it gives the worning "warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs"

Can you please help me how to resolve this error.

Thanks in advance
Wizard
Topic archived. No new replies allowed.