Wed 18 Apr 2007 08:47:43 AM UTC, comment #3:
Hello,
I have tryed the typedef void* RPC_NS_HANDLE and it fixed the first error.
After fixing also RPC_BINDING_HANDLE and RPC_BINDING_VECTOR, I get error on the RPC_STATUS RPC_ENTRY line :
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(33) : error C2061: syntax error : identifier 'RPC_NS_HANDLE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(34) : error C2061: syntax error : identifier 'ProposedHandle'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(34) : error C2059: syntax error : ';'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(35) : error C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(37) : error C2059: syntax error : '}'
...
Eric will come here this afternoon, and we will try to generate TSP together.
Thanks.
PS : Here is the RPCNSIP.H source code :
/*++
Copyright (c) 1992-1996 Microsoft Corporation
Module Name:
rpcnsip.h
Abstract:
This file contains the types and function definitions to use the
to implement the autohandle features of the runtime.
--*/
#ifndef _RPCNSIP_H_
#define _RPCNSIP_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
RPC_NS_HANDLE LookupContext;
RPC_BINDING_HANDLE ProposedHandle;
RPC_BINDING_VECTOR * Bindings;
} RPC_IMPORT_CONTEXT_P, * PRPC_IMPORT_CONTEXT_P;
/* Stub Auto Binding routines. */
RPC_STATUS RPC_ENTRY
I_RpcNsGetBuffer(
IN PRPC_MESSAGE Message
);
RPC_STATUS RPC_ENTRY
I_RpcNsSendReceive(
IN PRPC_MESSAGE Message,
OUT RPC_BINDING_HANDLE __RPC_FAR * Handle
);
void RPC_ENTRY
I_RpcNsRaiseException(
IN PRPC_MESSAGE Message,
IN RPC_STATUS Status
);
RPC_STATUS RPC_ENTRY
I_RpcReBindBuffer(
IN PRPC_MESSAGE Message
);
RPC_STATUS RPC_ENTRY
I_NsServerBindSearch(
);
RPC_STATUS RPC_ENTRY
I_NsClientBindSearch(
);
void RPC_ENTRY
I_NsClientBindDone(
);
#ifdef __cplusplus
}
#endif
#endif /* _RPCNSIP_H_ */
|