RE: [GD-Windows] ActiveX Control question
Brought to you by:
vexxed72
From: Ivan-Assen I. <as...@ha...> - 2005-01-11 18:20:44
|
> I also have a specific question: is there a proper way to implement a > control that is completely passive, i.e. accepts no input and just > does something. Imagine an application that allows you to download an > OCX to perform a bunch of calculations and then upload the results > (kind of like SETI at home, but as an explicit Web page control, not > as an explicit downloadable). Assuming you get the COM threading models right, I believe the "proper" way would the to launch a separate thread in the OnLoad event. Have you tried that? The main thread of a "proper" Windows application with a user interface (including an ActiveX control) should ideally do nothing but react to events. |