The information in this article applies to:
SYMPTOMSWhen trying to run a 16-bit RPC application, the RpcBindingFromStringBinding() may return error number 6. In the RPCERR.H file, this is defined as:
CAUSEUnlike Windows NT, the 16-bit environments do not automatically install the RPC runtime files and drivers. If the driver for the protocol sequence your are using is not installed, or is not in your path, RpcBindingFromStringBinding() will fail with error code 6. RESOLUTION
The 16-bit RPC runtimes and drivers ship with the Win32 SDK. You can
install them from the CD by going to the \mstools\rpc_dos\disk1
directory on the CD and running setup. By default, the installation
should install all drivers. If you want to verify that, choose the
custom install option.
MORE INFORMATIONWindows drivers have the extension .DLL and DOS drivers have the extension .RPC. The driver names and the protocol sequence they support are as follows:
REFERENCESThe "Installing RPC" section of the RPC Programmer's Reference. Additional query words:
Keywords : kberrmsg kbnetwork kb16bitonly kbAPI kbRPC kbSDKPlatform kbWinOS310 kbGrpNet |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |