>>Hi all,
>>
>>I have two vfp9 dll registered in Windows,
>>in vfp command line i create two objects like this
>>oCore = CreateObject("gc_core.gc_core") and
>>oCust = CreateObject ("gc_cust.FindCust")
>>
>>Then I set oCore.cUserName="João" and oCore.cUserPass = "pass"
>>
>>any chance to access oCore.cUserName from oCust with the new value???
>>
>>Thank's in advance
>
>Pass it as a parameter when you create the oCust portion.
I think the .init() of a COM object doesn't run, or something like that (doesn't take parameters). Pass it as a parameter in some other method.
OTOH, why can't oCust create its own instance of oCore?