Problem of xerces in MSVC7.1

F

frankdou

I have correctly set the include directory and lib directory, but when
I try to compile the following program, I always get an error message:
error C2504: 'DefaultHandler' : base class undefined

This is the program:
MyHandler.h
#pragma once
#include <xercesc/sax2/DefaultHandler.hpp>

class MyHandler : public DefaultHandler
{
public:
MyHandler(void);
public:
~MyHandler(void);

};

MyHandler.CPP
#include "MyHandler.h"
MyHandler::MyHandler(void)
{
}

MyHandler::~MyHandler(void)
{
}
 
J

Joe Kesselman

Have you tried asking on Xerces' own mailing list?

Generally, when your questions are about a specific product, talking to
the authors and users of that product is the most productive approach.
 
F

frankdou

Joe said:
Have you tried asking on Xerces' own mailing list?

Generally, when your questions are about a specific product, talking to
the authors and users of that product is the most productive approach.

You are right, I should asking on mail list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,853
Latest member
GeorgiaSta

Latest Threads

Top