[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Can I use CoMarshalInterThreadInterfaceInStream in eMbedded C++

can any one tell me if I can use CoMarshalInterThreadInterfaceInStream in eMbedded Visual C++ when creating ATL object/dll for Pocket PC platform. If I can't use CoMarshalInterThreadInterfaceInStream then what can I use instead? My objective is to fire events from separate thread. I'm not allowed to use MFC.

Thanks,
Sergey
0
germaks
Asked:
germaks
  • 4
  • 3
1 Solution
 
chensuCommented:
Yes, you can. The API function is supported in Windows CE 3.0 or later.
0
 
germaksAuthor Commented:
What do I need to link to or include? When I build the project I get unresolved external symbol error.
0
 
chensuCommented:
Link to ole32.lib.
0
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
germaksAuthor Commented:
I do link to it and it does the same thing
0
 
chensuCommented:
It works for me. What version of eMbedded Visual C++ are you using? If you generate an application from scratch, does it work?
0
 
germaksAuthor Commented:
I'm using version 3.0, if I create application from scratch using ATL COM Wizard it does not compile neither. I'm downloading version 4.0 right now.
What I found out that ole232.lib is supplied with Platform Builder 3.0 or higher, do you have that file?
0
 
chensuCommented:
I am using version 4.0. I don't have ole232.lib.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now