Re: How save modem configuration correctly
From: Grant Schenck (schenckg_at_optonline.net)
Date: 03/26/04
- Next message: Grant Schenck: "Re: lineClose is too slow"
- Previous message: Ed Dixon: "Re: Modem or Telephony Voice Card?"
- In reply to: pozz: "How save modem configuration correctly"
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: How save modem configuration correctly"
- Reply: Andreas Marschall [MVP TAPI]: "Re: How save modem configuration correctly"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Mar 2004 13:04:39 -0500
Couple of possible ways but the most straight forward is probably to
use the line's LINEDEVCAPS' dwPermanentLineID. Then, everytime you
start, use lineGetDevCaps() to retrieve the dwPermanentLineID from the
LINEDEVCAPS and compare it to the dwPermanentLineID you previously
associated with a modem's configuration.
-- Grant Schenck Grant Schenck Software schenckg@optonline.net http://grantschenck.tripod.com "pozz" <pNoOzSzPuAgMno@libero.it> wrote in message news:SwZ8c.91387$Kc3.2954893@twister2.libero.it... > Hi all, > > after initializing TAPI 2.1 (with lineInitializeEx() hidden window method), > the user choose a modem device (capable of datamode calls), configure it > (lineConfigDialog) and application stores that configuration in a file, > with the device number. > It works well normally, but what happens if user removes or adds other > modem drivers in the operating systems? > > Suppose I initially have modem1 and modem2 with device number 0 and 1. > User choose modem2, configure it and I store that infos (device number > 1 with configuration retrieved with lineGetConfig). > Later user removes modem1 device from operating system, remaining only > one device, modem2. > But now modem2 is TAPI device number 0 and configuration stored in > the application file is wrong. > > How can I save modem configuration in a file linking it with the device > and not with the device number that can change in the future? > > >
- Next message: Grant Schenck: "Re: lineClose is too slow"
- Previous message: Ed Dixon: "Re: Modem or Telephony Voice Card?"
- In reply to: pozz: "How save modem configuration correctly"
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: How save modem configuration correctly"
- Reply: Andreas Marschall [MVP TAPI]: "Re: How save modem configuration correctly"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|