Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some problem with registry.prg in win 2000
Message
De
18/04/2002 07:06:26
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Some problem with registry.prg in win 2000
Divers
Thread ID:
00646239
Message ID:
00646239
Vues:
39
In VFP/MS SQL server application we use registry.pgr to read odbc DSN for primary connection
And it worked alredy stable for few years in diffrent projects. When we moved into win2000
, it was very strange problem detected. At 80% cases all worked ok, but in 20% cases failed.
The reason was, that in 80% of success cases the registry key value was returned, but in 20% of failed
Cases same program at same computer returned key reference. We made 100 runs at 8 computers and observed same statistic. We moved to NT same code and in did gave this poblem at all.
Did anybody observed probles in calling api functions , used in registry.prg at win2000
These ipi just read asci win ini registry file
and all we need to know database names, sql server names, user and primary passwords from existing DSN
It is not problem to write new program to do this without calling ipi, but we just curious, what is going on
Thanks in advance, Vladimir.
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform