Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp dll read value from another vfp dll
Message
From
14/10/2018 15:48:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01662583
Message ID:
01662585
Views:
42
>>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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform