| From the information you have provided, it appears that you are doing
everything correctly. I'm sure the routine works as documented in the
SRM (although the documentation is sparse). The Name is not the same
as the Presentation Name. The Name is the same name that appears in
the DAP output (Upper-cased with no spaces). The datatypes are
required to match exactly. Names are LATIN1STRINGs, and Codes are
UNSIGNED32. The instance descriptor gets filled in with the
String or Number of the resulting translation. For subclass, make sure
you have the correct Dictionary Object Class specified ...
Dictionary AES:
+-------------------------------------------+
| Class: MCC_K_DICT_CLASS |
| +---------------------------------+|
| Inst: | mcc_l_dt: MCC_K_DT_LATIN1STRING ||
| | mcc_a_pointer: "THECLASSNAME" ||
| +---------------------------------+|
+-------------------------------------------+
+----------------------------------------------+
------> | Class: MCC_K_DICT_SUBCLASS |
| +------------------------------------+|
| Inst: | mcc_l_dt: MCC_K_DT_UNSIGNED32 ||
| | mcc_a_pointer: &unsigned32variable ||
| +------------------------------------+|
+----------------------------------------------+
Also, what is the error message you are getting back?
-Matt.
|
| Hi,
Can anybody give me any pointers to sources that read the dictionary to
extract all of the attibute names and datatypes. I'm sure something
like this has already been done and I'm wondering if there are some
routines available.
Please send mail to STAR::ALLISON.
Thanks for any help,
Gary
|