I've written an MFC DLL that works fine with another C++ program I wrote, but now I want to use it with a C program (that I didn't write).
Upon compilation I receive several "unresolved external symbol" errors. The appropriate .h and .lib are included in the program, so I'm a little confused as to why its giving me this error. I tried compiling as C++, but man-oh-man, about three or four hundred errors (mostly type conversions).
Is it possible to use an MFC DLL with a C program, or must I drudge through all the extra errors?
Upon compilation I receive several "unresolved external symbol" errors. The appropriate .h and .lib are included in the program, so I'm a little confused as to why its giving me this error. I tried compiling as C++, but man-oh-man, about three or four hundred errors (mostly type conversions).
Is it possible to use an MFC DLL with a C program, or must I drudge through all the extra errors?