Hi All,

I created a new ActiveX project, implemented IObjectSafety, and then tried
to create a modeless dialog in the ActiveX control's InitInstance. Then, I
made a web page that embeds it and then open the web-page:

It <seems> to work at first, but then weird problems arise. When the device
is cradled/uncradled, Pocket IE shuts down. Not only that, but certain
Pocket PC's lose their cookies too! Also, if ShowWindow( SW_SHOW ) is not
used after creation, then Pocket IE hangs up, and the control terminates
unexpectedly.

I need the dialog to be modeless so I can use it to hold state information,
and only appear when necessary. I have a win32 version that runs just fine
on the desktop machine.

Is there something fundamentally wrong with doing this?

Thank You!

Bryan Palmer
Software Engineer
TORO - EICON

Re: Help! Is something fundamentally wrong with this? by Bryan

Bryan
Mon Feb 21 08:51:07 CST 2005

I fixed it... ActiveX controls under Pocket IE actually start twice, so
make sure that the destructors are in place to even "start" the control.

Thanks anyways,
Bryan


"Bryan" <bryan.palmer@toro.com> wrote in message
news:px4Rd.15$Lo4.476@news.uswest.net...
> Hi All,
>
> I created a new ActiveX project, implemented IObjectSafety, and then tried
> to create a modeless dialog in the ActiveX control's InitInstance. Then,
I
> made a web page that embeds it and then open the web-page:
>
> It <seems> to work at first, but then weird problems arise. When the
device
> is cradled/uncradled, Pocket IE shuts down. Not only that, but certain
> Pocket PC's lose their cookies too! Also, if ShowWindow( SW_SHOW ) is not
> used after creation, then Pocket IE hangs up, and the control terminates
> unexpectedly.
>
> I need the dialog to be modeless so I can use it to hold state
information,
> and only appear when necessary. I have a win32 version that runs just
fine
> on the desktop machine.
>
> Is there something fundamentally wrong with doing this?
>
> Thank You!
>
> Bryan Palmer
> Software Engineer
> TORO - EICON
>
>