I'm back! Thanks to thor, I have successfully compiled my program. One problem, I continue to get this error upon compiling my control in the activeX container. I do use a .dll, which is located in the same directory as the activeX, and I though perhaps the location of this .dll could be generating this problem.
I also thought it may have been a problem with OnDraw(), but further testing of that has shown that this is not the case. I still think it may have something to do with my .dll. Here is the implementation in my ActiveX.cpp file.
BOOL bInit = COleControlModule::InitInstance();
m_hButtonControl = NULL;
//Loading the .dll 'cause its sucks!
m_hButtonControl= ::LoadLibrary( _T( "dapassthru.dll" ));
Excuse my language with my comments
, this project has given me so much trouble, I vent through my comments, as people actually using this won't see it... If you guys know anything about this problem, let me know. Thanks!