You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by vi...@lightningcast.com on 2003/03/17 16:21:21 UTC

RE: Re[2]: Compile Error on VC6

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:aaron@oti-canada.com]
> Sent: Monday, March 17, 2003 11:16 AM
> To: xerces-c-dev@xml.apache.org
> 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>                       <aaron@oti-canada        To:       
> xerces-c-dev@xml.apache.org                                   
>                
> 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: xerces-c-dev-unsubscribe@xml.apache.org
> SJB> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 
> 
> 
> 
> SJB> 
> ---------------------------------------------------------------------
> SJB> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> SJB> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re[4]: Compile Error on VC6

Posted by Aaron Boxer <aa...@oti-canada.com>.
Hello vinayak,

Thanks for your rapid response.

Unfortunately, I still get loads of errors.


Aaron


Monday, March 17, 2003, 9:21:21 AM, you wrote:

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

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

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

vlc> hth.
vlc> -Vinayak

>> -----Original Message-----
>> From: Aaron Boxer [mailto:aaron@oti-canada.com]
>> Sent: Monday, March 17, 2003 11:16 AM
>> To: xerces-c-dev@xml.apache.org
>> 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>                       <aaron@oti-canada        To:       
>> xerces-c-dev@xml.apache.org                                   
>>                
>> 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: xerces-c-dev-unsubscribe@xml.apache.org
>> SJB> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>> 
>> 
>> 
>> 
>> 
>> SJB> 
>> ---------------------------------------------------------------------
>> SJB> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>> SJB> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>> 
>> 



-- 
Best regards,
 Aaron                            mailto:aaron@oti-canada.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org