Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pass char* to a RPC server as a service

Status
Not open for further replies.

TheMillionDollarMan

Programmer
Jun 10, 2002
132
US
Hi.

I having been working with the example from MS rpcsvc. It implements an RPC server as a service. You can then call the server from a client application.

My problem is that I would like the server to run an application. To do this I want the client to pass the server char* for the applicationName, argurments and path.


RPCSVC

In this example they only pass in numbers and handle_t. I can't seem to pass in a char*. It crashes when it attempting to call the method that sends the char* to the server. Some error in the kernel that doesn't have a description.

I can call a remote server that is listening (but not implemented as a service) but not a server as a service.

What is going wrong?
Thanks
D

Win2k, MSVC6.0 + pee sized brain version 2.1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top