Object Browser Implementation
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Does anybody know how to associate a TKIND_ALIAS with its corresponding TKIND_ENUM using the ITypeInfo interface? Some type libraries are using typedef's for their enums and using the mangled MIDL names for the enumeration. I am trying to get a hold of the "clean" name. The following is an example of a type library that does this (Microsoft Scripting Runtime 1.0). typedef [public] __MIDL___MIDL_itf_scrrun_0000_0001 FileAttribute; typedef enum { Normal = 0, ReadOnly = 1, Hidden = 2, System = 4, Directory = 16, Archive = 32, Alias = 1024, Compressed = 2048 } __MIDL___MIDL_itf_scrrun_0000_0001; Thanks, Chris