BUG: Inconsistent Length of String When Type Changed to String

ID: Q182666

The information in this article applies to:

SYMPTOMS

In Component Builder (CB), when a method's return value or a parameter is changed from a non-string type to a string, the default size of the string is inconsistent.

To demonstrate this problem, perform the following steps:

1. Start Component Builder.

2. From the File menu, select New.

3. In the New Component Library dialog box, click OK.

4. Insert two methods with return values of Integer.

5. Right-click Method1 and bring up the Properties sheet.

6. Click the Automation Definition tab and change the Return Type to

   String.

7. Click OK.

8. Right-click Method2 and bring up the Properties sheet.

9. Click the Automation Definition tab and change the Return Type to

   String.

10. Switch to the COBOL Definition tab.

11. Click OK.

Results:

WORKAROUND

Manually assure the size of the string is correct in every case.

STATUS

Microsoft has confirmed this to be a problem in Microsoft COM Transaction Integrator for CICS and IMS version 1.0. A supported fix is now available for SNA Server version 4.0, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

Keywords          : kbbug1.00 kbfix1.00 CTIAdmin CTICB CTIMethod 
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: March 21, 1998