Crash in ocx Create
C / C++ / MFC
1
Posts
1
Posters
1
Views
1
Watching
-
Following are my sequence of steps for creating ocx. if(!ocx.Create(...)) { Register the Ocx if(!ocx.Create(...)) throw error message } The first create fails. the control comes inside the if . Registration of ocx succeeds. But on the second create, the application crashes !!?? Can anyone tell me why ??