C++/VB - Query regarding to AddressID

Asked By Mohit
05-Jan-10 05:53 AM
Hi friends,

Can any one tell me who provides the Address IDs? Is it TSP or it is TAPI.
and in which event.

Thanks,
Mohit
TAPIaroundTheWorld
(1)
AddressID
(1)
Windows
(1)
Frappr
(1)
Toto®
(1)
Toto
(1)
TSPI
(1)
TAPI
(1)
  Andreas Marschall [exMVP TAPI] replied to Mohit
05-Jan-10 08:14 AM
Mohit,
the TSP provides the number of AddressIDs in LINEDEVCAPS.dwNumAddresses.
From MSDN:
Number of addresses associated with this line device. Individual addresses
are referred to by address identifiers. Address identifiers range from zero
to one less than the value indicated by dwNumAddresses.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
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.
Create New Account
help
thing useful to the beginners. please give any sample codes. Win32 TAPI Discussions INVALPOINTERwhat (1) TAPIaroundTheWorld (1) MakeCallRequestID (1) DwMaxNumActiveCalls (1) DwPermanentLineID (1) DwDeviceClassesOffset (1) DwProviderInfoOffset (1) LpszFriendlyAppName (1) Andreas, Thanks 0, (DWORD)0, (DWORD)0}; lineNegotiateAPIVersion (, , , , , &LineExtensionID); - - Best Regards Andreas Marschall Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008 TAPI / TSP Developer and Tester My TAPI and TSPI FAQ 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 from JulMar: http: / / www.julmar.com / tapi / - - Best Regards Andreas Marschall Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008 TAPI / TSP Developer and Tester My TAPI and TSPI FAQ 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
C++ / VB Hello, I have a text file called OS.txt that looks like this: Windows 2000 Professional 5.0 (2195) Windows 2000 Server 5.0 (2195) Windows 7 Professional 6.1 (7600) Windows 7 Professional 6.1 (7600) Windows 7 Professional 6.1 (7600) Windows 7 Professional 6.1 (7600 Windows 7 Ultimate 6.1 (7100) Windows NT 4.0 Windows NT 4.0 Windows Server 2003 5.2 (3790) Windows Server
Slow text IO on 32 bit Windows 7 C++ / VB We have a customer reporting that our product draws text slowly on Windows 7. Upon further investigation, it appears as if 32 bit Windows 7 itself draws text slowly. I wrote a test program that uses printf to write 5000 times and it seems to run 2 to 9 times slower on 32 bit Windows 7 than on 64 bit Windows XP. (I am testing those systems using Vmware running on 64 bit Windows XP.) The performance on native 64 bit Windows 7 seems fine. Our product uses the standard wide character versions of WIN32 SDK APIs very fast on XP. Can anyone suggest why it is so slow on 32 bit Windows 7? Is there a known problem with text output on that system? Thank you. David
it was design purely for WIN32 and never had to worry about the version of windows users had. That seem to change now. So I guess, the deeper questions and answers WPF over MFC? - - HLS VC MFC Discussions SQL Server (1) Visual Studio (1) Silverlight (1) Windows 7 (1) Office (1) Linux (1) Adobe (1) Perl (1) I am using the RC in VS2010. VS2010 has the VC6-style ClassWizard, a welcome-back addition. It also has Windows 7-oriented enhancements to MFC. And an MFC ribbon designer (for the ribbon that debuted machine to run it. Build times are pretty quick. MFC is a GUI framework, requiring Windows. WPF is a GUI framework requiring .NET. WinForms is another GUI framework requiring .NET. WPF addition, WPF is a superset of Silverlight, which is how you program the recently announced Windows Phone (which replaces Windows Mobile). So for career longevity, learning WPF / Silverlight is inevitable. Now that Windows 7 ships with .NET Framework 3.5 SP1, the preinstalled base of .NET is growing Ajay Great! Yes, I always keep that to a minimum to maximize WIN32 across all Windows OS from 95-based OSEs to NT based OSes. Only in rare exceptions, like IPHLPAPI
bottleneck is memory bandwidth rather than CPU cycles. Is this analysis correct? VC MFC Discussions Windows XP (1) PowerPoint (1) Windows 7 (1) Vista (1) XP (1) CMemoryMapFile (1) MapViewOfFile (1) GlobalMemoryStatus (1) Geez, and here for him. I have a version where I am exploring NUMA that will leverage 2003+ Windows technology. I am going to pencil in getting a test computer with a Intel XEON at least understand this his old memory usage paradigm for processes does not apply under Windows. The only reason I can suspect for his ignorance is that he is not a programmer or at the very least, very primitive nature of programming knowledge. A real Windows programmer would under this this basic principles or at least explore what experts are saying reason is that you are not using pure RAM for the entire load of data. Windows will virtualize everything. In basic terms, there are two kinds - Windows using memory maps internally, that is how you get system pages and ones that applications The same with MEMORY - it is virtualized, even if you have 8GB! Unless you tell windows: Please do not CACHE this memory then it is CACHED MEMORY. So you have to