Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Recording a Corba based application reports the following error in the record log when loading IDL files "idlcpp.exe: : Bad file descriptor".

Recording a Corba based application reports the following error in the record log when loading IDL files "idlcpp.exe: : Bad file descriptor".

You will see this error at the beginning of the .record.log file as shown in the example below:

 

// Loading: C:\Program Files\Segue\SilkPerformer 6.5.1\Working\Data\\default.idl
// idlcpp.exe: : Bad file descriptor
// C:\Program Files\Segue\SilkPerformer 6.5.1\Working\Data\\default.idl loaded successfully.
// Loading: C:\Program Files\SegueSilkPerformer 6.5.1\Working\Data\\Main.idl loaded successfully.
// idlcpp.exe: : Bad file descriptor
// C:\Program Files\Segue\SilkPerformer 6.5.1\Working\Data\\Main.idl loaded successfully.

 

This is caused when pre-processor arguments are used in the Corba Active profile:

SETTINGS | ACTIVE PROFILE | RECORD | CORBA/IIOP | RECORDING

When you specify an argument be sure to specify the path correctly. For example the following path will cause this error: (note the trailing backslash)

 

-I. -I"C:\Program Files\Segue\SilkPerformer 6.5.1\Working\Data\"

 

Whereas the following will work:

 

-I. -I"C:\Program Files\Segue\SilkPerformer 6.5.1\Working\Data"

 

The "\" at the end of the path interferes with the SilkPerformer IDL parser and results in the error.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:48
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.