|
Post by dragonjim on Feb 25, 2017 17:41:53 GMT 1
Hi again,
Gfa_Types can only be used in a .gll (IDE extension files) and, as with all Gfa_??? commands and functions, will not work in compiled program, although I've never seen one cause an error before.
I'm guessing that your intention is to try and get information about User-defined Types from within the program itself; sadly, if that is the case, this is not possible in GFA as the UDT structures are not preserved in the compiled program (this may be because UDTs are static (not dynamic), cannot change in size, and therefore storing the structures in the compiled program may have been considered pointless...just speculation).
Sorry I could not be more helpful.
PS. Just out of interest, why were you trying to get UDT info?
|
|
|
Post by dragonjim on Mar 4, 2017 12:26:15 GMT 1
Is this for a UDT in one of your own programs? If so, then you can always load the properties of the UDT into a ListView Ocx object programmatically for inspection, and from there into a form for editing.
If not, but you know some or all of the properties (the UDT is part of a library or .dll, for example), you can access the data structure using VarPtr (or V:) to get the start address of any particular record in memory and dissect the record into its constituent parts (this will take some trial and error but is possible). Once you know the order, then you can once more load them into a ListView Ocx...
I hope some of the above is helpful.
|
|
|
Post by dragonjim on Mar 19, 2017 20:14:51 GMT 1
Sounds an interesting project. I look forward to you posting it.
|
|