Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter list in ObjectBrowser
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Divers
Thread ID:
01201138
Message ID:
01202895
Vues:
16
>>>>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
>
>That's all for the SWAG. No other ideas at the moment.

Since the ObjectBrowser is not confined to VFP alone I thought that maybe inputorder and outputorder might be reserved words in some other language that the ObjectBrowser was aware of. As a test I created another Method with the same code but called it In_Ord() and recompiled. Still no parameter list in the ObjectBrowser. Just no telling.

Thanks again.

Ed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform