Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual C++ 6
Message
De
12/02/2004 22:32:14
 
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Visual C++ 6
Divers
Thread ID:
00876955
Message ID:
00876955
Vues:
43
I'm working on using ActiveX controls and I'm getting "simple" errors on function declorations when the function are called in the main body of the program in that they are not including the amount of parameters I specified. Here is an example:

int ActiveXfuncDlg :: Strgcopy(int m_iCount, int m_iVar)

You can see from this function definition that it returns a value of type int and takes two parameters of type int to work with as shown in the braces. I'm getting an error telling me that the function does not take two parameters. One thing I did that was funny was use the Macro that created the member function declaration and did not have the capability ( or flexibility to add data types and variables the function would be working with inside the braces) I had to add them afterward. Every time I had to add a data type and variable(s) inside a funtions braces I got this error. In this case when I called this function the error message would say this function does not call 2 values.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform