"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag news:ew5QfC%23cKH...@TK2MSFTNGP05.phx.gbl...
To which procees I need to attach my TSP inorder to debug TUISPI_providerConfig() from VC++?I am able to debug TUISPI_providerConfig() from telehon,cpl(hits breakpoints), I attach my TSP to proocess:rundll32.exe and title:Phone and Modem options.But It is not hitting the breakpoints inside TUISPI_providerConfig(), If I attach my TSP to proocess:rundll32.exe and title:Phone and Modem options upon calling lineConfigProvider()from setup.exe.
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in message news:O2LDuI$cKHA...@TK2MSFTNGP04.phx.gbl...
"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag news:umu47p$cKHA...@TK2MSFTNGP04.phx.gbl...
I am debugging both Install.exe(which invokes lineAddProvider() and lineConfigProvider()) and and my TSP in VC++I have started debug of Install.exe(reached a breakpoint just before lineAddProvider) and from my TSP, if I click on "Attach to Process"the Install.exe process is disabled. So how can I attach my TSP to Install.exe process?
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in message news:eS3dDy$cKHA...@TK2MSFTNGP05.phx.gbl...
"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag news:%23KGp5sA...@TK2MSFTNGP06.phx.gbl...
If I dont run Install.exe in the debug mode, then I am able to attach my TSP to the Install.exeIt is hitting the break point inside TUISPI_providerConfig(). That means there is no problem till TUISPI_providerConfig().But I am just surprised to see that the same TUISPI_providerConfig() implementation is displaying UI of my TSP from TB20, telephon.cplbut not the lineConfigProvider() from Install.exe.Any suggestions?
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in message news:eS3dDy$cKHA...@TK2MSFTNGP05.phx.gbl...
Hello Andreas,
Inside TUISPI_providerConfig() method I have a DialogBox() method which takes 4th argument as DialogProc.
This DialogProc is called many times(100-200) in the success case(TB20.exe & rundll32.exe) and in the failure case(Install.exe) it is called only 2 or 3 times.
In the sucess case return value from DialogBox() method is 0x00000001 or 0x00000002 and in the failure case it is 0xffffffff
But my question is why the same DialogProc method is acting differently in the 2 cases?
Any Suggestions? Please help.
Regarding previous questions,
>>Now I am able to attach my TSP with Install.exe
>>My OS: Windows XP Professional SP-3
Regards,
Akil
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in message news:uH$6s7BdK...@TK2MSFTNGP06.phx.gbl...
"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag news:uPjx2VKd...@TK2MSFTNGP02.phx.gbl...
Inside TUISPI_providerConfig() method I have a DialogBox() method which takes 4th argument as DialogProc.
This DialogProc is called many times(100-200) in the success case(TB20.exe & rundll32.exe) and in the failure case(Install.exe) it is called only 2 or 3 times.
In the sucess case return value from DialogBox() method is 0x00000001 or 0x00000002 and in the failure case it is 0xffffffff
But my question is why the same DialogProc method is acting differently in the 2 cases?