CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2011
    Posts
    23

    Question RPC and Existing Code

    Hello All, I am not familiar enough with RPC, and what I find through MS and general WEB searches about RPC seem more superficial. Is it possible to incorporate RPC into an existing application that at present does not utilize RPC? I guess what I am getting at is this . . . Does an application need to be developed as RPC enabled from the start, i.e. the entire application needs to be RPC, or can RPC be achieved through a single added class using the IDL (MIDL) and then passing all remote calls through the RPC enabled class? Thank you in advance for any and all assistance in this matter.

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: RPC and Existing Code

    In fact, it depends. The most important factor is how good you are at RPC. And I suppose you're not. RPC stands for Remote Procedure Call, where Procedure is the key point. In case your application has good defined procedures, neatly designed for being called internally as well as externally, there won't be any problem with turning your app to RPC server.

    BTW, pure RPC is a rare bird in contemporary programming. The more commonly used incarnation is (D)COM, in Windows world of course. Another one, the most modern concept of it, is web service.
    Last edited by Igor Vartanov; November 26th, 2011 at 06:50 AM.
    Best regards,
    Igor

  3. #3
    Join Date
    Oct 2011
    Posts
    23

    Re: RPC and Existing Code

    Thanks for the response . . . I really do appreciate it. I will be looking into DCOM, however, I don't know if Web Services are the ticket, I will probably have to look into that as well just to be sure. Again, Thanks,

    --Victor

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured