Link to home
Start Free TrialLog in
Avatar of Harvey
Harvey

asked on

OLE without MFC

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 ?
Avatar of Harvey
Harvey

ASKER

Edited text of question
Avatar of Harvey

ASKER

Adjusted points to 300
ASKER CERTIFIED SOLUTION
Avatar of gelbert
gelbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial