Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 4 Aug 2008 11:41:55 +0200,    group: microsoft.public.win32.programmer.tapi        back       


how to creat a set Line Properties GUI in TSP?   
hi everyone,
I want to write a small user interface for my TSP, but I don't want to write
an external DLL, that I have already tried with the TSP++ 3.0 of JulMar,
but always caused my system collapse short after adding it in my Phone and
modem options. :( . So I want to make a small GUI just in the TSP project,
which appears always when user click the "line properties" button after 
"connect
using line..." to set the line properties, or after clicking 
"Configure..."in the "Phone
and Modem Options". Can you tell me how? thank you in advance.

Sheng Zhang
date: Mon, 4 Aug 2008 11:41:55 +0200   author:   Sheng Zhang

Re: how to creat a set Line Properties GUI in TSP?   
Sheng,

it is often convenient to use MFC for configuration GUIs, while
you would not want to use MFC in your actual TSP. MFC is not
meant to be used from within services and a TSP is actually a dll
that is loaded by a service.
That is one of the main reasons why you would want to separate
the UI dll from the TSP.

The procedures you have to follow are practically the same, not
matter if you use a separate dll or not.

I suggest you read this article:

http://msdn.microsoft.com/en-us/library/ms725518(VS.85).aspx
(and the 4 subsequent chapters)

Then you can ask here if there's something you don't understand.


Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
------------------------------------- 
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
------------------------------------- 
e-mail: moetje at terasens dot com
www:   www.terasens.com
------------------------------------- 

"Sheng Zhang"  wrote in message 
news:%23FxEYZh9IHA.4004@TK2MSFTNGP03.phx.gbl...
> hi everyone,
> I want to write a small user interface for my TSP, but I don't want to 
> write
> an external DLL, that I have already tried with the TSP++ 3.0 of JulMar,
> but always caused my system collapse short after adding it in my Phone and
> modem options. :( . So I want to make a small GUI just in the TSP project,
> which appears always when user click the "line properties" button after 
> "connect
> using line..." to set the line properties, or after clicking 
> "Configure..."in the "Phone
> and Modem Options". Can you tell me how? thank you in advance.
>
> Sheng Zhang
>
>
date: Mon, 4 Aug 2008 15:34:43 +0200   author:   Matthias Moetje [MVP]

Re: how to creat a set Line Properties GUI in TSP?   
"Sheng Zhang"  schrieb im Newsbeitrag
news:%23FxEYZh9IHA.4004@TK2MSFTNGP03.phx.gbl...
> I want to write a small user interface for my TSP, but I don't want to write
> an external DLL, that I have already tried with the TSP++ 3.0 of JulMar,
> but always caused my system collapse short after adding it in my Phone and
> modem options. :( . So I want to make a small GUI just in the TSP project,
> which appears always when user click the "line properties" button after
> "connect
> using line..." to set the line properties, or after clicking
> "Configure..."in the "Phone
> and Modem Options". Can you tell me how? thank you in advance.

Sheng,
just to clarify things: you currently use your TSP++ generated file as UI
"DLL"?
AFAIR there is some small GUI already generated by TSP++.
Did you change that code?
What are the exact issues?
Please post the TSP/UI trace output for this scenario.

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 4 Aug 2008 16:43:19 +0200   author:   Andreas Marschall [MVP TAPI]

Re: how to creat a set Line Properties GUI in TSP?   
thank you Matthias, thank you Andreas, now I realized how stupid my question 
was.
The GUI-project of JulMar TSP++ is well-supported, I can design my GUI quite
confortable. sorry for this question.
date: Mon, 11 Aug 2008 17:12:14 +0200   author:   Sheng Zhang

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us