I am writing an addin required an OLE component to be inserted into a dialog box edited by VC++ 5.0.
1) I start writing it without using any project wizard ( and I do not need them in fact ). When I insert an OLE component, it does appear in the resource view and there is no error when I compile it. Nevertheless, the dialog box cannot start and an error comes out : Not enough memory.
This situation will not occur if I remove the inserted OLE component. Also, I have tried out the same dialog box configuration by starting it with MFC appWizard. There is no error in this case.
2) If I really use the OLE control in my dialog box, how can I use the OLE control's method without using MFC or how can I accommodate my non-MFC code with the MFC-model OLE control class ?