[JDEV] C++ and JabberCOM.dll

David Waite dwaite at jabber.com
Tue Nov 7 21:53:17 CST 2000


Is this just with a raw import, or with code trying to use JabberCOM? ATL
(which is basically what you are using with the import) does not support
creating new objects with anything as simple as 'new'. I believe there is a
CreateObject instead.

Of course, I'm probably way off base - my COM/OLE skills are very purposely
getting rusty  :)

-David Waite


Stefan Bornschein wrote:

> Hi,
> I am a newbie, try to implement a Jabber client in VC++ for Windows NT.
> When I try to import the "JabberCOM.tlb" file utilizing the #import command
> I get a compile error. Apparently I can't instantiate objects from abstract
> classes like IXMLTag. Well, sure I can't instantiate them, but why is
> IXMLTag an abstract class and why does IJabberSession try to instantiate it
> anyway?
> Has anybody experienced a similar problem and maybe even solved that ?
> I appreciate every input
>
> Thanx in advance
> stefan
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list