Click here to Skip to main content
15,899,937 members
Home / Discussions / COM
   

COM

 
GeneralRe: Outlook security bypass question. Pin
Milton Karimbekallil11-Apr-04 23:54
Milton Karimbekallil11-Apr-04 23:54 
GeneralCalling Com Function Via javascript or VB script Pin
Anonymous9-Apr-04 18:12
Anonymous9-Apr-04 18:12 
GeneralRe: Calling Com Function Via javascript or VB script Pin
Milton Karimbekallil11-Apr-04 21:12
Milton Karimbekallil11-Apr-04 21:12 
GeneralHWND problem with list control Pin
krugger8-Apr-04 21:44
krugger8-Apr-04 21:44 
QuestionHow can I use a COM? Pin
ilavl8-Apr-04 15:14
ilavl8-Apr-04 15:14 
AnswerRe: How can I use a COM? Pin
Renjith Ramachandran11-Apr-04 2:01
Renjith Ramachandran11-Apr-04 2:01 
GeneralRe: How can I use a COM? Pin
ilavl11-Apr-04 20:36
ilavl11-Apr-04 20:36 
QuestionMSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Senkwe Chanda8-Apr-04 10:01
Senkwe Chanda8-Apr-04 10:01 
I've read the docs and a few online examples of how to implement the ISAXContentHandler interface. Simple enough.

In my "stdafx.h" file, I make sure to add the following two lines.

import <msxml4.dll>
using namespace MSXML2;

Cool, I then created a class derived from ISAXContentHandler, call it ContentHandlerBase. I implemnted each of the ISAXContentHandler methods such that they all return S_OK. Then, I created a class that derived from ContentHandlerBase, call it ContentHandlerImpl. In this class I only implemented one method, say ISAXContentHandler::startElement for example.

As soon as I tried to instantiate this class via ContentHandlerImpl* chi = new ContentHandlerImpl(), I got "Cannot Instantiate Abstract Class" along with a whole bunch of ...

HRESULT MSXML2::ISAXContentHandler::raw_ignorableWhitespace(unsigned short *,int)' : pure virtual function was not defined

for example, for each of the ISAXContentHandler methods even though they HAVE been implemented in the base class.

I don't get, it. I downloaded an online sample and it compiled fine. Laboriously poring over the differences between my code and the sample code has proved fruitless as I can't see anything I did wrong Frown | :-(

Anybody have any clues as to what might be the problem?

Thanks.

Senkwe



Woke up this morning...and got myself a blog
AnswerRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Anonymous8-Apr-04 10:17
Anonymous8-Apr-04 10:17 
GeneralRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Senkwe Chanda8-Apr-04 10:45
Senkwe Chanda8-Apr-04 10:45 
GeneralRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Anonymous8-Apr-04 13:12
Anonymous8-Apr-04 13:12 
GeneralRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Senkwe Chanda12-Apr-04 7:45
Senkwe Chanda12-Apr-04 7:45 
GeneralCOM events Pin
El'Cachubrey7-Apr-04 22:43
El'Cachubrey7-Apr-04 22:43 
GeneralNamespace Extension Pin
harishail7-Apr-04 2:09
harishail7-Apr-04 2:09 
GeneralRe: Namespace Extension Pin
_Magnus_8-Apr-04 0:10
_Magnus_8-Apr-04 0:10 
GeneralMarshaling interface pointers in DirectX Pin
Martin Hinchy6-Apr-04 15:12
Martin Hinchy6-Apr-04 15:12 
GeneralRe: Marshaling interface pointers in DirectX Pin
Rory Solley6-Apr-04 22:25
Rory Solley6-Apr-04 22:25 
GeneralRe: Marshaling interface pointers in DirectX Pin
Anonymous8-Apr-04 10:27
Anonymous8-Apr-04 10:27 
Questionhow to develop the ATL based Netmeeting wrapper Pin
hmstone5-Apr-04 17:58
hmstone5-Apr-04 17:58 
GeneralRenaming COM object Pin
PaleyX5-Apr-04 2:12
PaleyX5-Apr-04 2:12 
GeneralRe: Renaming COM object Pin
Steve S5-Apr-04 2:29
Steve S5-Apr-04 2:29 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 5:52
PaleyX5-Apr-04 5:52 
GeneralRe: Renaming COM object Pin
vprashu5-Apr-04 8:15
vprashu5-Apr-04 8:15 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 13:27
PaleyX5-Apr-04 13:27 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 14:13
PaleyX5-Apr-04 14:13 

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.