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..!