Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build an Installer but facing overload problem

Status
Not open for further replies.

MindCracker

Programmer
Aug 27, 2002
21
0
0
GB
I want to build an installer in my application using Visual C++. For example, when the procedure below is called, DataManager will be informed that this class has been installed.

INSTALLPROCEED(new Welcome(), new CDialogClass())
//where: Welcome is the class defined in Welcome.h
//where: CDialogClass is the class defined in the Dialog file name: dialogclass.h

The definition of the INSTALLPROCEED is as follows:-
#define INSTALLPROCEED(nameclass, namedialog) DataManager::Install(nameclass, namedialog);

However, when I compile:
none of the 2 overloads can convert parameter 1 from type 'class WelcomeClass*'

It's a bit confusing in my description. I am not very familiar with the terms used in Visual C++ as my knowledge in C++ is very limited. Any expert who can understand what I am trying to say, please help me. I would deeply appreciate that.



 
Oops, sorry, the statement should be:

However, when I compile, I got the error:
none of the 2 overloads can convert parameter 1 from type 'class Welcome*'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top