NikW
asked on
Returning an object.
Hi. Problem. I have a program which has a method which returns an object. The problem is that when the object is returned, it only has the correct value for the object name, which is the default property. However, when the object is set in the procedure, debugging shows that all the properties are set. It's as if the object is being passed 'byref' as oppose to 'byval'.
If anyone can help, I'd appreciate it.
If anyone can help, I'd appreciate it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Of course! How stupid of me!
I can make a few educated guesses but the best thing is for your to paste your code so experts can analyse it.