Take a look at the documentation regarding migrating to C++ namespaces:

http://xml.apache.org/xerces-c/migrate_archive.html

Dave



|---------+--------------------------->
|         |           Nathan Smith    |
|         |           <[EMAIL PROTECTED]|
|         |           xar.com>        |
|         |                           |
|         |           03/22/2004 12:53|
|         |           PM              |
|         |           Please respond  |
|         |           to xerces-c-dev |
|---------+--------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                                              |
  |        To:      "XML4C List ([EMAIL PROTECTED])" <[EMAIL PROTECTED]>               
                                          |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                               
                                                              |
  |        Subject: using the latest version of xerces                                 
                                                              |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|



I was using an older version of xml4c in my VC6.0 program, but I wanted to
make sure the problems I was having weren't related to the version I was
using, so I download and built the latest version of xml4c.
I went into the project settings and changed the include directories and
library path to the new ones, and updated the include staements to the
newest path.  But for some reason when trying to build my program now there
are all kinds off errors essentially saying all of the xml4c classes I have
used in the project are either undefined or not even a class or namespace.
It looks like the include files are being read, but it doesn't seem to be
accepting them for some reason.  Am I missing something totally simple
here?  Below are some of the errors I'm getting.

Thanks.

error C2504: 'HandlerBase' : base class undefined
C:\Paxar\pcmplus\saxhandlers.h(24) : error C2061: syntax error : identifier
'AttributeList'
C:\Paxar\pcmplus\domwrite.h(14) : error C2653: 'DOM_DOMException' : is not
a class or namespace name
C:\Paxar\pcmplus\domwrite.h(14) : error C2146: syntax error : missing ';'
before identifier 'lastDomExCode'
C:\Paxar\pcmplus\domwrite.h(14) : error C2501: 'ExceptionCode' : missing
storage-class or type specifiers
C:\Paxar\pcmplus\domwrite.h(14) : error C2501: 'lastDomExCode' : missing
storage-class or type specifiers
C:\Paxar\pcmplus\domwrite.h(16) : error C2143: syntax error : missing ','
before '&'
C:\Paxar\pcmplus\domwrite.h(16) : error C2059: syntax error : '&'
C:\Paxar\pcmplus\domwrite.h(17) : error C2146: syntax error : missing ';'
before identifier 'depth'
C:\Paxar\pcmplus\domwrite.h(17) : error C2501: 'DOMString' : missing
storage-class or type specifiers
C:\Paxar\pcmplus\domwrite.h(17) : error C2501: 'depth' : missing
storage-class or type specifiers
C:\Paxar\pcmplus\domwrite.h(25) : error C2143: syntax error : missing ','
before '&'
C:\Paxar\pcmplus\domwrite.h(25) : error C2059: syntax error : '&'
C:\Paxar\pcmplus\domwrite.h(26) : error C2653: 'DOM_DOMException' : is not
a class or namespace name
C:\Paxar\pcmplus\domwrite.h(26) : error C2146: syntax error : missing ';'
before identifier 'getLastDomExCode'
C:\Paxar\pcmplus\domwrite.h(26) : error C2501: 'ExceptionCode' : missing
storage-class or type specifiers
C:\Paxar\pcmplus\domwrite.h(33) : error C2504: 'ErrorHandler' : base class
undefined



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

Reply via email to