Versions des environnements
Network:
Windows 2000 Server
>Hi Arnold,
>
>>May I put the parse routine to init() so it run at every method call ?
>
>Depends on what the routine does. COM servers do not receive any parameters in their Init event, even if you pass them on the CREATEOBJECT() line. If your code needs to parse the parameters, you have to do this in the method itself. However, you could move the code to a protected method and call it from each method instead of duplicating the code.
Thanks fot your input.Is it the common practice for stateless programming ?
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