|
| Hi,
I am using a server-client architecture and using RPC to communicate.
Client is a VB program and server runs in Solaris m/c.
I am getting 1734 error. Array bounds invalid error.
Any ideas why.
The relevant code is as follows.
VB:CODE
Type typRPCKey
iNo As Long
sAccNum As String * 32
sSerNum As String * 11
End Type
Type typRPCInfo
iHasData As Integer
sMsgText As String * 256
End Type
Dim muRPCKey As typRPCKey
Dim muInfo As typInfo
Declare Function IsDataAvailable Lib "rpc_function.dll" (ByVal
iBindingHandle As Long, ByVal lContext As Long, uRPCKey As typRPCKey,
uRPCInfo As typRPCInfo, uErrorStatus As ErrorStatus) As Long
IDL :CODE
typedef struct { long ino;
[string] char accNum[31+1];
[string] char serNum[10+1];
} KeyInformation;
typedef struct { short hasData;
[string] char MsgTxt[255+1];
} DataAvailability;
error_status DLL_FLAGS CcsiIsDataAvailable(
[in] handle BindingHandle,
[in] ContextHandle Context,
[in] sKeyInfo* keyInfo,
[out] DataAvailability* response,
[out] ErrorStatus* Status
);
accnum and sernum are used by server and returns hasdata and msgtxt
Please let me know if you need more info.
Please tell me why I am getting that error. Thanks in Advance
Ravi
|
|