|
Post by (X) on Nov 2, 2021 15:48:36 GMT 1
Have you noticed you can't export a UDT from a GFA Library?
Well you can do the next best thing, by creating a Pointer Variable!
The Pointer Variable will look and act exactly like the target variable as if it were a "clone".
All you have to do to from the library is Export the Memory Address of the target UDT defined variable in the form of an Int32 variable then follow these 2 easy steps in the main code:
If this seems a bit abstract, here is a practical example. I have used this in my compilation of the Lib_Color_Space library to access a rather large User Defined Type Data Structure representing the COLOR_SPACE. You can find this demo at: gb32.proboards.com/thread/392/color-space-rabbit-hole
|
|