Thread: RPC programming with Microsoft C

  1. #1
    Registered User
    Join Date
    Nov 2011

    RPC programming with Microsoft C

    I have an old CTI (compouter-telephony integration) call "CTConnect" from "dialogic" that came with oracle siebel crm application to have call recognition. This application now owns to Syntellect.
    The CTI has a server application runs on a windows 2000 server that connects with our PBX call center and a client application installed on agent's pc.
    The documentation says that we can made our client application to make calls (power dialing) or to have call recognition (and many other functionalities such as call forwarding) from a client pc.
    For this reason documentation documented many C functions reside in a .dll that we have to register it first.
    Ok until here... the installation of CTConnect client also has a call recognition example in Microsoft C and use:
    1. RPC to make client's requests to server
    2. Multithreading so the program do not hang when standby until next ingoing call

    Ok... I am totally irrelevant with rpc and I did not find any rpc resources in the internet that are like the example.. They talk about strange things like stubs and interface compilers but the example uses rpc header...

    Can anyone tell me how this functionality can I use it in my vb6 program? I need to make calls from my vb6 program..

    I attached the example...and the documentation is here

    Thanks a lot...
    Attached Files Attached Files
    Last edited by nonlinearly; 09-17-2012 at 04:11 AM.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Newport, South Wales, UK
    To be fair, you're going to have a job getting someone on a C board to analyze the proprietary interface that you need to work with and then find a way for it to work in VB6. Sounds awfully like paid work to me.

    But before I get too shirty, a question:-

    Does the .dll have a type library associated with it? This may be a .tlb file with the same name, or it may be embedded inside the .dll and registered with the system during software installation. If VB6 is installed on the same machine, try looking for the type library in there.

    The reason I ask this is because this kind of application might have COM interfaces that you're not aware of. Visual Basic can work with these quite easily.

    As long as the ctcAssign, etc. functions are defined as using the stdcall convention, you should be able to declare them in VB6 in much the same way as Win32 API functions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Programming Microsoft Agents
    By Fizzer in forum Windows Programming
    Replies: 5
    Last Post: 08-31-2003, 06:38 PM
  2. microsoft's f#
    By major_small in forum A Brief History of
    Replies: 13
    Last Post: 06-02-2003, 01:27 PM
  3. Microsoft
    By edwardtisdale in forum A Brief History of
    Replies: 14
    Last Post: 02-01-2002, 09:04 AM