Solved

Can I use CoMarshalInterThreadInterfaceInStream in eMbedded C++

Posted on 2003-10-21
10
282 Views
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.

Thanks,
Sergey
0
Comment
Question by:germaks
[X]
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
10 Comments
 
LVL 23

Accepted Solution

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

Author Comment

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

Expert Comment

by:chensu
ID: 9595647
Link to ole32.lib.
0
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

 

Author Comment

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

Expert Comment

by:chensu
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?
0
 

Author Comment

by:germaks
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?
0
 
LVL 23

Expert Comment

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 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