Archived

This topic is now archived and is closed to further replies.

MissingMethodException on CoInitializedEx

This topic is 4981 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I created a class. In the class, I created a method. In the method, I am trying to initialize the COM by calling ::CoInitializeEx(NULL,COINIT_APARTMENTTHREADED); and then I created a test problem on the PocketPC platform to test the class. When I build the project, I didn''t get any compilation error, but at run time, when the method that has the CoInitializedEx is called, it gives me a MissingMethodException. I think maybe it can not find the dll it needs. Am I right? Anyone has any idea? Thanks a lot. Ricky

Share this post


Link to post
Share on other sites