[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Get country list under windows 95

Posted on 2000-03-15
10
Medium Priority
?
303 Views
Last Modified: 2010-04-04
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
0
Comment
Question by:lurc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 150 total points
ID: 2622439
hi,
you should use the linegetcountry api for this to work on all windows versions:

there is example here:

http://www.kansai.co.uk/files/lgc.zip

you will probably need a tapi unit for this unless you already have one ,if not i suggest:

ftp://ftp.cdrom.com/pub/delphi_www/ftp/d10free/d_tapi.zip

Regards Barry
0
 
LVL 2

Expert Comment

by:gikam
ID: 2622440
there is the same key, but u must have the model installed
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2622527
Listening
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:lurc
ID: 2622621
Thanks,Barry,

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

Lurc

0
 
LVL 17

Expert Comment

by:inthe
ID: 2622631
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.

0
 
LVL 17

Expert Comment

by:inthe
ID: 2622638
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
0
 
LVL 17

Expert Comment

by:inthe
ID: 2626985
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?

0
 

Author Comment

by:lurc
ID: 2631257
E-mail has received, thanks.

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

Author Comment

by:lurc
ID: 2635737
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
0
 
LVL 17

Expert Comment

by:inthe
ID: 2637731
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..


0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question