Hi!

I am working with Visual C++ 6.0 on NT4.0 SP6a.

I am trying to 'integrate' Apache Xerces for C++
(xerces-c.lib) with
another tested library (another.lib).

I've got no problem working with 'xerces-c.lib' alone: I
setup the environment
by going Project>Settings>Link>xerces-c.lib, creating
DOMCount.cpp, compiling, ...

I've got no problem working with 'another.lib' alone: I
setup the environment
by going Project>Settings>Link>another.lib, creating
another.c, compiling, ...

The problem comes when mixing both. I cut&paste pieces from
another.c to 
another.c. I include every header files (xxx.h):

/*Includes from DOMCount.cpp*/
#include <util/PlatformUtils.hpp>
#include <sax/SAXException.hpp>
#include <sax/SAXParseException.hpp>
#include <parsers/DOMParser.hpp>
#include <dom/DOM_DOMException.hpp>
#include "DOMCount.hpp"
#include <string.h>
#include <stdlib.h>
#include <dom/DOM_NodeList.hpp>
#include <dom/DOM.hpp>

/*Standard Includes*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <fcntl.h>
#include <fstream.h>
#include <iostream.h>

/*includes from another.c*/
#include <yyy.h>
#include <xxx.h>

...but I bump into this errors:

Compiling...
DOMCount.cpp
c:\xxx.h(19) : error C2664: 'fopen' : cannot convert
parameter 1 from 'void *' to 'const char *'
        Conversion from 'void*' to pointer to non-'void'
requires an explicit cast
c:\xxx.h(192) : error C2065: 'min' : undeclared identifier
c:\xxx.h(357) : error C2664: 'open' : cannot convert
parameter 1 from 'void *' to 'const char *'
        Conversion from 'void*' to pointer to non-'void'
requires an explicit cast
        
Where xxx.h is a header file of 'another.lib'.

Any suggestion? Thanx.

==================
MIRELLO
___________________________________________________________________________
Tu correo gratuito en HispaVista - http://www.hispavista.com/altacorreo/

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

Reply via email to