Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory objects saved into cursors
Message
From
19/02/2019 08:58:48
 
 
To
19/02/2019 02:47:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01666501
Message ID:
01666537
Views:
46
>>>A reference to a pointer still points to the same object.
>>
>>Yes. That's what I want. I want a reference to the existing object, so that the object exists, and the reference points to the object that exists as well.
>>
>>It's as the second example was setup in my code above. I'm effectively using that method presently, and it works, but it's clunky. I would like to have a way to store a binary object which is the explicit reference to the existing object, so I could reference it without having to use an intermediate variable name which is then set to the object reference itself. I'd like to remove that "middle man" if possible.
>
>My dear, I fear this is not possible with VFP. Remember, this is a dinosaur. Even if you figure out the adress of an object. Run time generated stuff like objects and there props might be mixed with vars.(Create a var, create an object, an other var and then a property to the object. The storage of the object must be fragmented somehow.) Stuff you can not store binary like references to other objects

I wonder if that would be possible, to pass the object by reference to a DLL which obtains the address, and returns it as a value, allowing the value to be saved as an integer, and then reconstituted similarly by calling a DLL with the value, which updates another variable passed by reference to then refer to that object?

Hmmm....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform