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
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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao