Unix Programming - RPC ERROR 1734

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > July 2005 > RPC ERROR 1734





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RPC ERROR 1734
ravi

2005-07-12, 7:56 am

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com