problem #importing an atl-derived com library
- From: "Phil Da Lick!" <phil_the_lick@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Jan 2006 15:23:47 +0000
Hi all,
Hopefully just a quicky.
Got a com server library generated from ATL. #import'd the .tlb file into another project, MFC application wizard generated.
Two interfaces defined in the library, one dual which is automation ready and is used to set and retrieve properties. The second uses GDI *** and is derived from IUnknown.
One object exposes both these interfaces.
When I include a IDualBasedIntf *lpData; into my MFC class there is no problem.
When I includes a IUIUnkBasedIntf *lpUIServices; pointer I get:
error C2143: syntax error : missing ';' before '*'
VS.NET 2003 is the development environment, winxp. .
- Follow-Ups:
- Re: problem #importing an atl-derived com library
- From: Phil Da Lick!
- Re: problem #importing an atl-derived com library
- From: Max
- Re: problem #importing an atl-derived com library
- From: Igor Tandetnik
- Re: problem #importing an atl-derived com library
- Prev by Date: conflict in the #import of the two modules
- Next by Date: Re: another COM-Question: how to inject a type-lib into a dll?
- Previous by thread: conflict in the #import of the two modules
- Next by thread: Re: problem #importing an atl-derived com library
- Index(es):