Using function in Sevice

Hi All,
  I have already written a service under MFC containing a certain function. I want to write a program under VC++  that calls this function from the service so that I can pass parameters to the function and retrieve the return Value from it.

Thanx for your fast response,
Amr Adel
Who is Participating?
Check out ("RPCsvc: Windows NT System Service That Uses RPC") - this sample illustrates how to do that. Another sample is presented in ("A Homegrown RPC Mechanism") which could also be used as an alternative approach. Apart from these two, ("Inter-Process Communication") has a lot of samples that describe how to communicate between processes.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.