³
³¶¸¸ ´ÞÆØÀÌ
Hi~.
I make an ActiveX Control with MFC library.
Source code of this control is from default Visual C++ wizard.
It run well in MFC container and other(VB, DELPHI, ...) and .Net winform.
But!... It has some different behavior in .Net MDI child form.
The function OnCreate of ActiveX Control window is called twice in .Net MDI
child form.
I think that this appearance has some side effects.
So, sometimes some ActiveX controls with MFC are crashed and then throw
exception in .Net MDI child form.
Of course, the ActiveX control is safe in .Net winform(not child form).
Just .Net MDI child form has this situation.
My customer wants my activeX control to run in .Net MDI child form.
Please tell me the technical column, answer or solution about this
situation.
Please tell me How to block about OnCreate is twice called.
I make an ActiveX Control with MFC library.
Source code of this control is from default Visual C++ wizard.
It run well in MFC container and other(VB, DELPHI, ...) and .Net winform.
But!... It has some different behavior in .Net MDI child form.
The function OnCreate of ActiveX Control window is called twice in .Net MDI
child form.
I think that this appearance has some side effects.
So, sometimes some ActiveX controls with MFC are crashed and then throw
exception in .Net MDI child form.
Of course, the ActiveX control is safe in .Net winform(not child form).
Just .Net MDI child form has this situation.
My customer wants my activeX control to run in .Net MDI child form.
Please tell me the technical column, answer or solution about this
situation.
Please tell me How to block about OnCreate is twice called.