Using a library compiled with /MT in a /MD(d) project

Giganews Newsgroups
Subject: Using a library compiled with /MT in a /MD(d) project
Posted by:  Olumide (502…@web.de)
Date: Sun, 1 Mar 2009

Hello,

I'd like to know if a library was compiled with the /MT switch can be
used in a project that uses the /MDd switch.

I'm writing a DLL that I compile as /MDd, and I've recently started
using a matrix library that's been compiled with the /MT switch. The
DLL compiles well, but I'm getting a number of runtime errors and I'm
not sure if they are due to incompatibilities between both switches.

Thanks,

- Olumide

Replies