Can I use CoMarshalInterThreadInterfaceInStream in eMbedded C++

Posted on 2003-10-21
Last Modified: 2013-12-27
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.

Question by:germaks
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 23

Accepted Solution

chensu earned 500 total points
ID: 9595382
Yes, you can. The API function is supported in Windows CE 3.0 or later.

Author Comment

ID: 9595506
What do I need to link to or include? When I build the project I get unresolved external symbol error.
LVL 23

Expert Comment

ID: 9595647
Link to ole32.lib.
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 9598556
I do link to it and it does the same thing
LVL 23

Expert Comment

ID: 9600778
It works for me. What version of eMbedded Visual C++ are you using? If you generate an application from scratch, does it work?

Author Comment

ID: 9600892
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?
LVL 23

Expert Comment

ID: 9601308
I am using version 4.0. I don't have ole232.lib.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Missing phones pictures in Google 9 98
MDM solutions for mobile phones as BYOD. 1 122
Mini HDMI, Micro HDMI, or what?? 6 70
HP Windows 7 unabled to install driver 3 69
I think the most popular question in our Windows Mobile Programming zone is about the backlight - we all want to keep it on when our application is running. Few years ago the function SystemIdleTimerReset() did this job. On our side we had to detec…
When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question