Problem with ActiveX
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I add a class from dll to my mfc single document (without doc view support) project in CMainFrame::OnCreate function i create my activex control wich is wrapped by the class i added ussing it's create function, then i use it's SetWindowPos function to change it's size in CMainFrame::OnSize function, it's working perfect but when i minimize the main window and then i restore it back, the ActiveX control crashes, saying "Devision by zero". What is the problem ???