General information
Category:
COM/DCOM and OLE Automation
Title:
Parameter list in ObjectBrowser
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only