On Sat, 18 Oct 2008 10:16:06 -0700, dl0haus wrote:
[Quoted Text] > What am I doing wrong here? I have a nasty bug I'm trying to track down and > code-wise I don't see anything wrong so I was curious if my lack of > consistent configuration parameters for the compiler might be one of the > issues? > > Any help here will be greatly appreciated. There really isn't any reason to > use an MFC DLL in my case I simply wrapped some code around the WMVCOPY > sample so I could make calls to it from a C# front end.
I don't think MFC has anything to do with your problem, however you do have to make sure that the MFC library setting is compatible with the runtime setting.
LIBC.LIB and LIBCMT.LIB are the single and multi-thread versions of the standard C runtime library. Pretty much any standard C program that uses printf or strcpy is going to need this library, plus it's probably used by the WMFSDK. You need to be compiling with multi-threaded DLL which translates to MSVCRT.LIB (MSVCRTD.LIB for debug). If you are getting LIB* inherited somewhere trying excluding it from the link.
-- http://www.chrisnet.net/code.htm [MS MVP for DirectShow / MediaFoundation]
|