Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LanguageOptions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00579242
Message ID:
00579297
Vues:
42
Stephane,
I'm not from MS but why can't you test your COM object in the VFP environment. If you have code like the following:
define class MyClass as Session olepublic
procedure Init
_VFP.LanguageOptions = 1
set debugout to MyOutputFile.Log additive
endproc

procedure Destroy
set debugout to
endproc

* other methods
enddefine
In the VFP IDE, create an instance of your class using NewObject/CreateObject and run it through its paces. You will want to test in the COM+ environment after this, but this pass will get you any outstanding variable references.

HTH.

>Can anybody At Microsoft tell me what is the use of having a LanguageOptions setting if it can't be used at run time inside COM+ Dll. ??
>
>We have a large application Running under COM+ And We have no way to know if any variable was not explicitly declared other than manually revise all the code. If some Variable are not explicitly declared in a client application, the implication are not very high but if it happend in a MTDLL Under COM+, C5 will append and the process will be killed.
>
>DebugOut is not included in the Vfp7t so setting LanguageOptions has no effect. Can someone at MS Include this feature in SP1.
>
>Thanks
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform