I am connecting to Micro Focus Rumba ObjectX Pro Control Container (Web based TN3270 emulator) version 6 using WHLLAPI. While I am able to connect, copy string to PS, copy PS to string etc. certain APIs are failing.
Failing APIs are
99 (Convert) - convert row column, to position
32 (FindFieldLength) - Find field length.
My observation is that that APIs which require character(s) as input, does not. The API connection input/output details (for both working and not-working APIs are provided below. Any help to resolve this will be highly appreciated.
WinHLLAPIStartup()
Return code: 0 (WHLLOK)
Version: 1.0
Description: Wall Data Incorporated
Function: 1 (ConnectPresentationSpace)
Input string: 41 A
Input length: 1
Return code: 1 (WHLLNOTCONNECTED)
Function: 1 (ConnectPresentationSpace)
Input string: 41 A
Input length: 1
Return code: 0 (WHLLOK)
Function: 15 (CopyStringToPresentationSpace)
Input string: 48656C6C6F Hello
Input length: 5
Input PS pos.: 250
Return code: 0 (WHLLOK)
Function: 7 (QueryCursorLocation)
Return length: 321
Return code: 0 (WHLLOK)
Function: 99 (Convert)
Input string: 4152 AR
Input length: 2
Input PS pos.: 1
Return length: 2
Return code: 9999 (WHLLINVALIDRC)
Function: 32 (FindFieldLength)
Input string: 4E50 NP
Input PS pos.: 1
Return length: 2
Return code: 2 (WHLLPARAMETERERROR)
#Rumba




