Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ARGG! VFP send my objects by reference, no by value!!!!
Message
From
07/03/2000 22:24:15
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00342323
Message ID:
00343102
Views:
23
Ed,

>because objects can contain objects. You also have the issue of things like >private data sessions to make life -really- messy.

Yeah that sounds like it could screw things up. :)

While we are on the subject of pointers to pointers, and copies of references, what would one use this level of indirection for?

For example-

VFP:

someFunc(@oObj)

C/C++:

int someFunc(void **ppint);

And I have seen it (in COM literature for example) cast like:

x = someFunc((void**) *&pvar);

What is the reason for this?

TIA,
Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform