Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual C++ 6
Message
 
To
12/02/2004 22:32:14
General information
Forum:
Visual C++
Category:
Other
Title:
Miscellaneous
Thread ID:
00876955
Message ID:
00876992
Views:
15
Hi,

Could you show the code with this problem? Where is Strgcopy declared? Is it your function or member of the ActiveX control?


>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform