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
germaksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
Yes, you can. The API function is supported in Windows CE 3.0 or later.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.