You are probably missing some preprocessor directives. As a shortcut, try including 
the file

XERCES-C-SRC2_2_0\SRC\xercesc\util\Compilers\MVSCPPDefs.hpp

this should solve your problem. Let me know if this works.

hth.
-Vinayak

> -----Original Message-----
> From: Aaron Boxer [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2003 11:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re[2]: Compile Error on VC6
> 
> 
> Hello Scott,
> 
> Thanks for your reply.
> 
> I added the line
> 
> XERCES_CPP_NAMESPACE_USE
> 
> to the code.
> 
> Unfortunately, it still gives me errors.
> 
> Aaron
> 
> 
> 
> 
> Monday, March 17, 2003, 8:57:24 AM, you wrote:
> 
> 
> 
> 
> 
> SJB> Make sure you have the line :
> SJB> XERCES_CPP_NAMESPACE_USE
> SJB> somewhere near the top of your code.  This solved those 
> errors for me (on
> SJB> AIX/xlC mind you).  It wasn't needed/didn't exist(?) in 
> older versions
> SJB> (i.e. 1.6), but I had to include it when I upgraded 
> xerces to 2.2 and tried
> SJB> to recompile.
> 
> SJB> Scott Baker
> 
> 
>                                                               
>                                                               
>           
> SJB>                       Aaron Boxer                        
>                                                               
>                
> SJB>                       <[EMAIL PROTECTED]        To:       
> [EMAIL PROTECTED]                                   
>                
> SJB>                       .com>                    cc:       
>                                                               
>                
> SJB>                                                Subject:  
> Compile Error on VC6                                          
>                
> SJB>                       03/17/2003 10:49                   
>                                                               
>                
> SJB>                       AM                                 
>                                                               
>                
> SJB>                       Please respond to                  
>                                                               
>                
> SJB>                       xerces-c-dev                       
>                                                               
>                
>                                                               
>                                                               
>           
>                                                               
>                                                               
>           
> 
> 
> 
> 
> SJB> Hello xerces-c-dev,
> 
> SJB>   I have cut and paste the DOMPrint sample code into my
> SJB>   MFC application. When I try to compile, I get the error:
> 
> SJB>   "XMLPlatformUtils' : is not a class or namespace name"
> 
> SJB>   This code compiles fine in the sample project.
> 
> SJB>   Thanks in advance!
> 
> SJB> Aaron Boxer
> 
> 
> SJB> 
> ---------------------------------------------------------------------
> SJB> To unsubscribe, e-mail: [EMAIL PROTECTED]
> SJB> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> SJB> 
> ---------------------------------------------------------------------
> SJB> To unsubscribe, e-mail: [EMAIL PROTECTED]
> SJB> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to