PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

eVC++ ActiveX not working in Pocket IE

Another ActiveX related question: So far, I have started my ActiveX development by using the AXSample project supplied with embedded Visual C++ 4.0.

My question: I tried to create a new ActiveX project from scratch, using the ATL wizard. My control compiled and registered on the Pocket PC, but Pocket Internet Explorer did absolutely refuse to display it.

It seems that on many forums, this is somewhat of a known issue, but there are no answers to why it's not possible to create controls that work in PIE... (The eVC++ Help actually has a walkthrough of this process - which results in a non-working control!?!!)

For now, I could live with extending the MS sample, but I need to integrate JavaScript events now - which the sample does not support :cry: (So in case anyone has hints on how to add eventing to the sample, I'd also appreciate that!!)

Thanks!
Ray
jkkhurana · 07 Dec 2005, 06:34 UTC — Post subject: eVC++ ActiveX not working in Pocket IE
Hi

You have to implement IObjectSafety interface to get it working on PIE. Also, override and implement OnSetClientSite() method in your control class, this should solve your problem.

Thanks
Jatinder Khurana
jkkhurana · 07 Dec 2005, 06:40 UTC — Post subject: eVC++ ActiveX not working in Pocket IE
Hi

You have to implement IObjectSafety interface to get it working on PIE. Also, override and implement OnSetClientSite() method in your control class, this should solve your problem.

Thanks
Jatinder Khurana