Calling Chongqing Municipal Medical Insurance interface (Neusoft) with C#, 31: card reading transaction failed

1. Check if this is an internal dll error caused by no external device.

2. Check that the parameter types of the calling function are correct.

3. The function is called in the correct way.

[DllImport("SiInterface.dll", EntryPoint = "BUSINESS_HANDLE", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]< /p>

static extern int BUSINESS_HANDLE(StringBuilder inputData, StringBuilder outputData);

CallingConvention

CharSet

Two property tweaks to try