Re: CallBack function is not not working .............



You didn't mention you were writing a console based application. That is
significant because you will not have a Windows message pump. In TAPI v2
you can use lineInitializeEx and in the final parameter specify either an
event or completion port callback method. Event is easier. You use
something like WaitForSingleObject to wait for your events.

Life will be a lot easier if you change your application to a Windows app
however. Particulalry if you are new to TAPI.

Angus

"sandeep" <sandeepnagakkandy@xxxxxxxxx> wrote in message
news:1114186092.587920.277090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> hai angus,
> thanks for the sugestion, which is the pointr u mentioned,
>
> Do you think that is there a different method for writing CallBackFunc
> between dialog based and console based vc++ programs.
> thanking you again ....
> sandeep.
>


.



Relevant Pages

  • Re: Help me!!
    ... >> I am writing an intepreter for a mathematical language. ... >> console for the interpreter that can be invoked from within the GUI ... But this solution separates input area from output area. ...
    (comp.lang.java.gui)
  • Starting a console application from parameters
    ... I'm writing a Console Application and I would like to start it only if I pass to it a param: ... myapp.exe --> I write usage reference ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 32-ounce prime rib
    ... beaten by an angry mob for writing.. ... :> I hate you high metabolism fuckers. ... Then again, I console myself with ...
    (rec.sport.football.college)
  • Re: How to getting console messages to Textbox
    ... Well, rather than writing to *anything*, you could fire a bespoke message ... console, ... Show me your certification without works, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: TAPI application VB or C++
    ... I worked with a client who wanted to use TAPI from VB. ... Due to similar concerns I ended up writing a C++ wrapper in the form ... > stability to build a telephony app for an Office system of around 80 ...
    (microsoft.public.win32.programmer.tapi)