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.
I wrote some small tool to read and write HDD sectors 6 years ago under WinXP. If I recall correctly, the buffer has to fit the size of a sector (or n folds, aka: N * 512 bytes). Otherwise it rejects and nothing will happen.
I have a dll that uses MFC as shared dll and it has many dialogs in it & was working fine till the time the project was in VS 2002 but recently I have converted the VS 2002 project to VS 2008 project and now none of the dialog is showing up. So, could anyone please suggest whats going wrong.
There is no future lies in any job but future lies in the person who holds the job