Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
>>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
>
>What are the names of the methods in question? Could they be VFP reserved words?
Naomi,
One example would be inputorder()and another would be outputorder() I don't think that these would be getting confused with input and output.
Ed
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement