Link to home
Start Free TrialLog in
Avatar of lurc
lurc

asked on

Get country list under windows 95

Dear all,

Control Panel  >> Modems >> General >> Dialing Properties >> I am in this
country/region:

For above setting, I can get it in registry under key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Country List in
Windows 98, but how do I get the same settings in Windows 95?

Thanks for any help.

Lurc
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gikam
gikam

there is the same key, but u must have the model installed
Listening
Avatar of lurc

ASKER

Thanks,Barry,

But I cannot get file d_tapi.zip at ftp.cdrom.com, can you send me directly by E-mail? Thanks.

Lurc

sorry the delphi super page site is still down for upgrading but yes i send you the tapi file i have it installed also.
leave your email address
or send a mail to
Barry@Future-Software-House.co.uk
and i reply with component.

oh here it is

http://www.kobira.co.jp/sakura/d_net_RasAPI.htm

i give the page instead of link as some other interesting bits thee you may be interested in.

d_tapi.zip is about 4th down
 
Regards Barry
got your email and i have emailed you back the d_tapi and tested it with the example i linked to .
it worked great ..did you get errors?

Avatar of lurc

ASKER

E-mail has received, thanks.

There is an exception prompted in the process, I am trying to find the reason.
Avatar of lurc

ASKER

It works, thanks.

But I still have two questions, please help me out.

1. Does this program require modem installed on running PC?

2. Except one successfully running PC, a warning appears as I run it.
'Range check error.'

After debugging, I find the exception is raised at this position

// Now enumerate through all...
for CountryIter := 0 to  List^...
   with ListView1.Items.Add do
   begin
       Caption := ... <= here

First round, it is normal and gets out the first country, but second, the warning is prompted out.

Thanks in advance.

Lurc
1: linegetcountry is a api call so a modem has nothing to do with it..

2: sorry i dont understand the error ,i didnt get any at all when i tried it.

maybe put where the error occurs in a
try
except
 statement..