But it shows error error C3352: 'OnCallClick' : the specified function does not match the delegate type 'void (System::String ^)'
Im using button click event handler and its woking perfectly.But this only shows error.As i want to get the text in combox,im passing that text as parametes and im uisng that text in vc++ code.
pls help me.
What I want to ask is, if it is possible to omit forward declaration of CAdderDialog, because it is not present in "modeldlg.h" and somehow it compiles OK. When I try to make the same code on my own, it doesn't compile.
You will definitely need a forward declaration of the CAdderDialog class since you're creating a pointer of that type.
If you where creating an object of this type you would need to include the entire class definition.
«_Superman_» I love work. It gives me something to do between weekends.