Mike Yearwood
Toronto, Ontario, Canada
>I wouldn't do that, because I'd rather have the oFactory handle the additional parameters and other possible hurdles of actual createobject() or newobject() code. I'd prefer the loWait=oFactory.create("tokennamehere")
>
>Since factory is such a lightweight class, you can instantiate it on the spot, in a local variable - then you won't have the datasession problem. Replace oFactory with loFactory in my examples, then.
So, to be consistent, I could do this everywhere?
m.loFactory = CreateObject(m.oApp.GetFactoryName())
m.loFactory.Create(m.cTokenName,m.cParameterList)
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