Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 27 Jan 2006 15:32:04 +0000,    group: microsoft.public.platformsdk.com_ole        back       


Problem #importing   
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 
shit 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.
date: Fri, 27 Jan 2006 15:32:04 +0000   author:   Phil Da Lick!

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us