Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter list in ObjectBrowser
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Parameter list in ObjectBrowser
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Miscellaneous
Thread ID:
01201138
Message ID:
01201138
Views:
69
I have a COM exe file compiled in VFP 8.0. Various methods within the COM object have parameters which are usually referenced as LPARAMETER and usually containing a character type parameter or parameters.

I have a customer using Alpha5 who is having problems calling some of the methods. It is usually the methods that have only one character type parameter. He gets an error from Alpha5 saying "too many parameters passed" when in fact he has passed the required one parameter.

Looking at the ObjectBrowser I see that no parameters are showing in these particular methods while they do show in other methods. I cannot see any dicernable differences between the methods for which the parameters show and those that do not show.

Comparing just two, for instance, they both start with an LPARAMETER followed by the memory variable such as LPARAMETER lcFinance. They both show Public Visibility. They are both members of the same class. Why would the ObjectBrowser show the parameter in one method and not in the other?

I am assuming that the fact that Alpha5 does not see a required parameter and that the ObjectBrowser also does not see the required parameter are both related.

Any hints at thing to look for would be greatly appreciated.

Ed
Next
Reply
Map
View

Click here to load this message in the networking platform