I was trying to use the API provided for connecting to the RUMBA terminal. This is to automate some monotonous tasks. I could find that there is a .Net DLL provided along with installation of Rumba. However I couldn't find any document for the C# functions provided. All I could find in the supportline pdf link was that they provide a visual studio addin - http://documentation.microfocus.com/help/index.jsp?topic=/GUID-D2BFF507-A4F0-45D1-A13B-5E9C4AA74633/GUID-ABA8241C-C839-46A0-8198-0DD1A8BDF2C7.html. However without addin I managed to call many functions like WD_Connect, WD_SendKeys from my C# and its working fine. However I am having issues with WD_StartHostNotification as the function declaration is as public static extern short WD_StartHostNotification(IntPtr param0, StringBuilder data); I am unable to get the right format for the StringBuilder data parameter. it always returns with 2 which is invalid parameter was specified. Given below is my code. If somebody have the documentation. Please share
using MicroFocus.RDE.Framework;
public void StartHostNotification()
{
StringBuilder notificationParms = new StringBuilder(6);
notificationParms.Append('A');
notificationParms.Append('P');
short hostNotifyReturnCode = EHLLAPI.WD_StartHostNotification(ehlPtr, notificationParms);
}
#Automation
#EHLAPI32
#C
#Rumba
#c