Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewID in COM components
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00318189
Message ID:
00318687
Vues:
24
>>If you check out the cApplicationCOM subclass in cApp.vcx, in SetCOMEnvironment() we have SET REPROCESS TO 2 SECONDS.
>
> Hmm...that takes care of the rest of the app, but NewID() would still be set to AUTOMATIC. When it's called, it saves the current REPROCESS setting, sets it to Auto, does what it needs to do to get the next ID, then resets it.

Yeah but you know what, that's if we're talking about using a COM version of goApp. I'm interested here in regards to rolling out a COM kBizObj... oh wait the same SET REPROCESS TO 2 is in kbizobj.setcomenvironment() too.

Playing around with this (note - I'm a COM newbie) I cant get it to bite me from within VFP but I'm still a little concerned. I cant find anywhere in the framework classes that make use of SYS(2335, n) though. Seems to me we would still need that in these .SetCOMEnvironment() wouldnt we?
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform