Solved

Can I use CoMarshalInterThreadInterfaceInStream in eMbedded C++

Posted on 2003-10-21
10
274 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
  • 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IT Ticketing Support App 5 72
How to connect samsung note 5  remotly 6 43
samsung phone too less memory 36 100
How to send Telegram messages from PHP 5 1,859
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…
A short article about problems I had with the new location API and permissions in Marshmallow
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 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