Click here to Skip to main content
15,889,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating interface that can read network traffic Pin
that_dude_tj17-Jul-09 14:21
that_dude_tj17-Jul-09 14:21 
QuestionWIN 32 Project Pin
Member 311244716-Jul-09 9:14
Member 311244716-Jul-09 9:14 
AnswerRe: WIN 32 Project Pin
Rajesh R Subramanian16-Jul-09 9:23
professionalRajesh R Subramanian16-Jul-09 9:23 
GeneralRe: WIN 32 Project Pin
Member 311244716-Jul-09 9:40
Member 311244716-Jul-09 9:40 
GeneralRe: WIN 32 Project Pin
Member 311244716-Jul-09 9:43
Member 311244716-Jul-09 9:43 
GeneralRe: WIN 32 Project [modified] Pin
Stuart Dootson16-Jul-09 9:50
professionalStuart Dootson16-Jul-09 9:50 
AnswerRe: WIN 32 Project Pin
Stuart Dootson16-Jul-09 9:46
professionalStuart Dootson16-Jul-09 9:46 
QuestionConverting very old VC++ to VS2005 and MSXML Pin
gartnerj16-Jul-09 6:55
gartnerj16-Jul-09 6:55 
Folks,
I have a project I'm trying to convert from VC++ MFC to VS2005, and I'm having a problem with msxml (and I know NOTHING about MFC -- have never coded in it).

Basically, there is an msxml.cpp/.h in the project directory, and when I compile, I am getting type redefintion errors.

MSXML.cpp
e:\....\graphing\mpactgrafx activex control\msxml.h(972) : 
 error C2011: 'XMLDOMDocumentEvents' : 'struct' type redefinition
 c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9495) : see declaration of 'XMLDOMDocumentEvents'


in the PROJECT msxml.h:
class XMLDOMDocumentEvents : public COleDispatchDriver

and in the platformsdk\Include\msxml.h:
XMLDOMDocumentEvents : public IDispatch


Looks like it is pulling in not only the local msxml (which is what I want it to use), but also the
c:\program files\Microsoft Visual Studio 8\VC\PlatformSDK\include\msXml.h

so I am getting the redef in the project msxml stuff.

I don't see any real way to EXCLUDE only that platformSDK\Include\msxml.h file during compilation.
I've tried the tools->options->project..-> VC++ directories, but if I exclude that platformSDK\include, I get all sorts of badness happening.


If I get rid of the local msxml.h/cpp, I also get bad things happening (due to used objects from that old msxml missing)

Any help greatly appreciated.
AnswerRe: Converting very old VC++ to VS2005 and MSXML Pin
Stuart Dootson16-Jul-09 9:39
professionalStuart Dootson16-Jul-09 9:39 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj16-Jul-09 9:49
gartnerj16-Jul-09 9:49 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
Stuart Dootson16-Jul-09 9:52
professionalStuart Dootson16-Jul-09 9:52 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj16-Jul-09 10:10
gartnerj16-Jul-09 10:10 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
Randor 16-Jul-09 10:24
professional Randor 16-Jul-09 10:24 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj16-Jul-09 10:39
gartnerj16-Jul-09 10:39 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj16-Jul-09 10:46
gartnerj16-Jul-09 10:46 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
Randor 16-Jul-09 10:50
professional Randor 16-Jul-09 10:50 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
Stuart Dootson16-Jul-09 13:22
professionalStuart Dootson16-Jul-09 13:22 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj17-Jul-09 3:49
gartnerj17-Jul-09 3:49 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
Stuart Dootson16-Jul-09 13:24
professionalStuart Dootson16-Jul-09 13:24 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj17-Jul-09 3:50
gartnerj17-Jul-09 3:50 
GeneralRe: Converting very old VC++ to VS2005 and MSXML Pin
gartnerj17-Jul-09 10:53
gartnerj17-Jul-09 10:53 
Questioncall functions of a win32 dll from a ASP.Net Pin
ashwath197916-Jul-09 6:40
ashwath197916-Jul-09 6:40 
AnswerRe: call functions of a win32 dll from a ASP.Net Pin
«_Superman_»16-Jul-09 16:44
professional«_Superman_»16-Jul-09 16:44 
QuestionCreating outlook express style frame headers/banners Pin
Sternocera16-Jul-09 5:56
Sternocera16-Jul-09 5:56 
QuestionVC++ library LEDA Pin
Member 311244716-Jul-09 5:21
Member 311244716-Jul-09 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.