Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOM on Windows CE. Please help.

Status
Not open for further replies.

mucksavage

Instructor
Mar 28, 2001
2
IE
This is the same question that Michel Condemine asked 20 December 2000 in the DCOM forum:

I need to use CoCreateInstanceEx to start a component on a remote system (DCOM functionnality)

""
The function is documented in MSDN online
CoCreateInstanceEx
The function creates an instance of a specific class on a specific machine.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 3.0 and later Objbase.h Ole232.lib


I understand that some OEM can implement a kind on "light" DCOM as explain in the enclose file, (COM and DCOM in WinCE 3.0)

But the embedded visual tools are independent of OEM then it must contain this library.
but not, this library is available only in Platform Builder 3.0 and the best is the OLE232.lib doesn't contain CoCreateInstanceEx ????????????

Please HELP ME.
""

I know that the fix to this error is add the .lib file to the link settings, BUT ole232.lib is not to be found.
(BTW it's not in ole32.lib)

Error:
WinCE Test1.obj : error LNK2019: unresolved external symbol CoCreateInstanceEx referenced in function "long __cdecl WndProcParent(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProcParent@@YAJPAUHWND__@@IIJ@Z)
 
You can either get the latest directx sdk for the CE or try linking direct to ole32.dll

If in debug you have these libs set the error on Init
will disappear...err I hope

commctrl.lib coredll.lib $(CEx86Corelibc) ole32.lib strmiids.lib COMDLG32.LIB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top