
February 28th, 2004, 02:02 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Location: Colorado, USA
Posts: 15
Time spent in forums: 4 sec
Reputation Power: 0
|
|
C++: Converting a DLL from non-MFC to MFC?
Hi,
I have been coding a non-MFC DLL (it is a "plugin" or "add-on" to another application), but I have found some "pie chart creation" code that uses MFC that I need to put into my project. Therefore, I'm assuming that I need to convert my existing project to MFC. Is that possible? In the Project Settings dialog of VC++ 6.0, I have tried changing the setting from "Not Using MFC" to either "Use MFC in a Static Library" or "Use MFC in a Shared DLL", but I get tons of errors when compiling. I then added the stdafx.cpp and .h files to my project, but I still get hundreds of errors.
I found some other code to create the pie chart, but it requires WTL. I got the latest version of WTL and I get tons of errors trying to compile it, also.
How can I make this work?
Thanks,
bobert
|