I have a program that I have written, and it is complex enough I don't want to convert it from a standard MFC app to an RPC enabled MFC app by creating the framework and porting all of my code over (very tedious and highly prone to failure). I want to write an RPC enabled DLL to handle the remote calls (commands). I can do this, right? Create an RPC DLL and link to it with a non RPC application and pass commands from the non RPC app to the RPC DLL and have the RPC DLL issue the remote commands?

Thanks in advance for any and all help you can provide . . . I am open to suggestions from anyone as to how I can have my currently non-RPC App perform RPC tasks.