Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom class INIT
Message
 
 
À
13/05/2009 20:01:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01399776
Message ID:
01399827
Vues:
181
>Does anyone know if its possible to pass a parameter to the INIT event of a custom class which is defined in a prg file? I am trying to write a generic print server for use on the web that will serve multiple web apps. I would like for the server to know which web app created it. I can do this with a second call to a method of the server but was wondering if it could be done with the initial call. My gut tell me the answer is no, but I thought I'd ask anyway.
>
>Thanks

Is the class defined as OLEPUBLIC or not? If yes, then you can not do this.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform