Re: Nested UDT (2: continue)
Eros, thanks as you know I have been dreaming about having these features. I will start to test things in coming weeks. Thanks for bringing this feature to us!
Re: Nested UDT (2: continue)
Perfect Eros,
thanks a lot! Works great here so far!
Petr
Re: Nested UDT (2: continue)
Man,
I can't wait till I can work on my computer again. Thanks Eros.
Re: Nested UDT (2: continue)
Just to let you know ... there are still items to be solved. For example (not exaustive list):
- an UDT inside an UDT cannot be passed as function parameter
- VARPTR is not able to return the exact memory position of an UDT inside an UDT
- SIZEOF function to work also on UDT elements and nested UDT
- UBOUND function to work on UDT elements and nested DLL too
- ...
There are other situations to check but I will be more precise in future posts.
Ciao
Eros
Re: Nested UDT (2: continue)
Attached file in first post of this thread updated.
VARPTR now working with UDT inside UDT or any UDT element at any level. See included example.
I will now work on passing any element or any nested UDT as FUNCTION parameter BYREF.
Regards
Eros
Re: Nested UDT (2: continue)
Thanks Eros for tremendous task you undertook to bring us these features, looks like you are really getting it done in great Eros Fashion!
Re: Nested UDT (2: continue)
Thanks Ken.
It is a bit complex task this one but I'm sure it is myself making too much complex.
I'm discovering that I repeated the same code more then once so I'm confident I will be able to simplify UDT handling a lot and this will bring more easy to be maintained code for future implementations.
Ciao
Eros
Re: Nested UDT (2: continue)
Attachment in first post of this thread updated.
SizeOf function is now able to determine correct size of any element and sub element of any UDT or nested UDT.
See included examples.
Re: Nested UDT (2: continue)
All 3 sample files ran fine, thanks Eros!