Click here to Skip to main content
16,010,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is WinAPI programming prereq for MFC Pin
Shog97-Aug-02 10:25
sitebuilderShog97-Aug-02 10:25 
GeneralRe: Is WinAPI programming prereq for MFC Pin
zeki yugnak7-Aug-02 13:44
zeki yugnak7-Aug-02 13:44 
GeneralRe: Is WinAPI programming prereq for MFC Pin
Shog97-Aug-02 13:51
sitebuilderShog97-Aug-02 13:51 
GeneralRe: Is WinAPI programming prereq for MFC Pin
Tomasz Sowinski7-Aug-02 10:17
Tomasz Sowinski7-Aug-02 10:17 
GeneralRe: Is WinAPI programming prereq for MFC Pin
Michael P Butler7-Aug-02 22:16
Michael P Butler7-Aug-02 22:16 
GeneralVC++ SAX integration Pin
act_x7-Aug-02 7:23
act_x7-Aug-02 7:23 
GeneralRe: VC++ SAX integration Pin
Chris Losinger7-Aug-02 7:39
professionalChris Losinger7-Aug-02 7:39 
GeneralRe: VC++ SAX integration Pin
act_x7-Aug-02 7:51
act_x7-Aug-02 7:51 
I did not . The SAXParser class is in a .hpp class and is as follows :
class PARSERS_EXPORT SAXParser :

public Parser
, public XMLDocumentHandler
, public XMLErrorReporter
, public XMLEntityHandler
, public DocTypeHandler
{
public :
// -----------------------------------------------------------------------
// Class types
// -----------------------------------------------------------------------
enum ValSchemes
{
Val_Never
, Val_Always
, Val_Auto
};


// -----------------------------------------------------------------------
// Constructors and Destructor
// -----------------------------------------------------------------------

/** @name Constructors and Destructor */
//@{
/** Constructor with an instance of validator class to use for
* validation.
* @param valToAdopt Pointer to the validator instance to use. The
* parser is responsible for freeing the memory.
*/
SAXParser(XMLValidator* const valToAdopt = 0);

/**
* Destructor
*/
~SAXParser();
//@}




It was said that in SAX one needs to only implement the Handler class that derives from Documenthandler

then we need to invoke

parser.SetDocumentHandler(& handlerobject)
parser.Parse();


The sample code I referred from a Text book did not have any initialization for the parser object .

Please help
GeneralRe: VC++ SAX integration Pin
Chris Losinger7-Aug-02 8:08
professionalChris Losinger7-Aug-02 8:08 
Generalretrieving a bmp from acess Pin
ns7-Aug-02 6:56
ns7-Aug-02 6:56 
GeneralRe: retrieving a bmp from acess Pin
Chris Losinger7-Aug-02 7:20
professionalChris Losinger7-Aug-02 7:20 
GeneralRe: retrieving a bmp from acess Pin
Ranjan Banerji7-Aug-02 7:31
Ranjan Banerji7-Aug-02 7:31 
GeneralRe: retrieving a bmp from acess Pin
Joel Lucsy7-Aug-02 8:36
Joel Lucsy7-Aug-02 8:36 
GeneralRe: retrieving a bmp from acess Pin
ns7-Aug-02 9:23
ns7-Aug-02 9:23 
Generalserial communication and bluetooth Pin
Frank S.7-Aug-02 6:28
Frank S.7-Aug-02 6:28 
GeneralRe: serial communication and bluetooth Pin
Frank S.8-Aug-02 23:38
Frank S.8-Aug-02 23:38 
Generalblob data question Pin
ns7-Aug-02 5:22
ns7-Aug-02 5:22 
GeneralRe: blob data question Pin
Nish Nishant7-Aug-02 5:26
sitebuilderNish Nishant7-Aug-02 5:26 
GeneralRe: blob data question Pin
ns7-Aug-02 5:34
ns7-Aug-02 5:34 
GeneralRe: blob data question Pin
Tomasz Sowinski7-Aug-02 5:48
Tomasz Sowinski7-Aug-02 5:48 
GeneralRe: blob data question Pin
Ranjan Banerji7-Aug-02 6:33
Ranjan Banerji7-Aug-02 6:33 
GeneralRe: blob data question Pin
Giles7-Aug-02 8:24
Giles7-Aug-02 8:24 
GeneralHelp? I'm new. Pin
G. White7-Aug-02 5:05
G. White7-Aug-02 5:05 
GeneralRe: Help? I'm new. Pin
Nish Nishant7-Aug-02 5:20
sitebuilderNish Nishant7-Aug-02 5:20 
GeneralRe: Help? I'm new. Pin
Anonymous7-Aug-02 5:32
Anonymous7-Aug-02 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.