Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CDOEXM compiliation

3 views
Skip to first unread message

rimpl...@gmail.com

unread,
Jan 18, 2005, 6:49:14 PM1/18/05
to
Hi

I'm trying to compile some c++ code with the following imports..

#import <msado15.dll> no_namespace raw_interfaces_only
rename("ADODB","CDOEXM")
#import <cdoex.dll> raw_interfaces_only named_guids
#import <cdoexm.dll> raw_interfaces_only named_guids

Each import creates a tlh file.. the last import (cdoexm.dll) seems to
not be generated properly.

I get the following error msgs,

error C2516: '__missing_type__' : is not a legal base class
error C2146: syntax error : missing ',' before identifier
'IDataSource2'
error C2499: 'CDOEXM::IDataSource2' : a class cannot be its own base
class

the above errors seem to be because of the line,
IDataSource2 : __missing_type__ IDataSource2
in the cdoexm.tlh file

The line should read - IDataSource2 : CDO::IDataSource

I have no idea why the tlh is not being generate correctly. All my
paths/include dirs/lib dirs all point to the correct folders.

Does anyone have any idea as to how i can solve this problem..????
Thanks in advance..!

rimpl...@gmail.com

unread,
Jan 19, 2005, 1:07:08 PM1/19/05
to
Anyone..?? any ideas on the above..???

0 new messages