General information
Category:
Coding, syntax & commands
Thanks for your idea! I may have to do that, but ideally I would like the application to just pass the connection handle (SQLConnection) and not have to wrap it before I send it. Is there no way once I have the reference variable in the Init method to make it public to the class? Both the class and the application use the connection handle and both need to have same handle at all times. If one changes it, the other should have the change also. Thanks.
>
>Create a Custom object that will hold all the data you wish to pass back and forth by reference, pass the custom object by reference.
>When you store the object parameter to a property you will have another reference to the same object.
>
>Note that with this approach you can produce dangling reference, which will prevent your application from unloading. Dangling reference is situation where one object contains reference to another, and the second one contains reference to the first.
>So that both objects cannot be unloaded flawlessly with a single QUIT or CLEAR ALL command.
>
>HTH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only