Function Objects like "Launch" are missing in the CA Gen 8.6 Toolset when use Action Diagram statement "Functions" or "Invoke"


Article ID: 196492


Updated On:


CA Gen CA Gen - Workstation Toolset


Trying to use CA Gen 8.6 Toolset Action Diagram statement "Functions" and all Function Objects like "Launch" are missing:


There should be 11 other functions between GetWidth and OpenExcelDocument per below:

Using Action Diagram statement "Invoke" and then choose "Function Object" should also show the complete list of Function Objects (separate from Application Objects):

The root cause of the missing Function Objects is that the Gen type library WROF0000.TLB has not been correctly registered .
The other type library for Application Objects WROA0000.TLB has been registered correctly which is why they are visible.


Release : 8.6
Component : CA Gen Workstation Toolset


The high-level registry keys for the 2 type libraries are as follows with a sub-node for each Gen version installed
[HKEY_CLASSES_ROOT\TypeLib\{0C8F36F1-848E-11CE-9C08-02608CDA5EE3}]  - "Application Library" (WROA0000.TLB)
[HKEY_CLASSES_ROOT\TypeLib\{EBD084A1-E46C-11CE-8F94-0020AF9B5FED}] - "Functions Library" (WROF0000.TLB)

Pre Gen 8.x file WROAF.REG was supplied to register both type librariies but is no longer distributed because the TLBs are registered at install time and registration should not be needed again after that. The 8.6 equivalent of that file would be as follows:
HKEY_CLASSES_ROOT\TypeLib\{0C8F36F1-848E-11CE-9C08-02608CDA5EE3} = CA Gen 8.6 Application Library
HKEY_CLASSES_ROOT\TypeLib\{0C8F36F1-848E-11CE-9C08-02608CDA5EE3}\8.6 = CA Gen 8.6 Application Library
HKEY_CLASSES_ROOT\TypeLib\{0C8F36F1-848E-11CE-9C08-02608CDA5EE3}\8.6\0\win32 = C:\Program Files (x86)\CA\Gen86\Gen\WROA0000.TLB
HKEY_CLASSES_ROOT\TypeLib\{0C8F36F1-848E-11CE-9C08-02608CDA5EE3}\8.6\HELPDIR = C:\Program Files (x86)\CA\Gen86\Gen
HKEY_CLASSES_ROOT\TypeLib\{EBD084A1-E46C-11CE-8F94-0020AF9B5FED} = CA Gen 8.6 Functions Interface Type Library
HKEY_CLASSES_ROOT\TypeLib\{EBD084A1-E46C-11CE-8F94-0020AF9B5FED}\8.6 = CA Gen 8.6 Functions Library (8.6)
HKEY_CLASSES_ROOT\TypeLib\{EBD084A1-E46C-11CE-8F94-0020AF9B5FED}\8.6\0\win32 = C:\Program Files (x86)\CA\Gen86\Gen\WROF0000.TLB
HKEY_CLASSES_ROOT\TypeLib\{EBD084A1-E46C-11CE-8F94-0020AF9B5FED}\8.6\HELPDIR = C:\Program Files (x86)\CA\Gen86\Gen

Create new file WROAF.REG containing the above lines and run it to register both type libraries.
Restart the Toolset and the missing Function Objects problem should be resolved.