Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry difference between win 9x and NT
Message
De
22/01/2003 10:49:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00744211
Message ID:
00744260
Vues:
17
Thanks. That is what I was looking for.

>http://msdn.microsoft.com/code/default.asp?url=/msdn-files/026/001/887/Source%20Files/frmFilteredProjects_frm.asp

>(Using google.com) - there is a VB declaration

>>Alexander,
>>
>>What is the syntax for the SQLGetPrivateProfileString? I am unable to find any documentation or examples of its use.
>>
>>Thanks,
>>
>>Chris
>>
>>>Hi,
>>>
>>>On NT platform ODBC settings are stored in registry instead of ODBC.ini. So the recommended way to access these settings is to use SQLGetPrivateProfileString, which retrieves data from ODBC.ini on Win9X platform and works with registry on NT platform.
>>
>>>HTH,
>>>Alexander
>>
>>>>Hello all,
>>>>
>>>>I am trying to figure out why the code I wrote to obtain the SourceDB key from the ODBC.ini entry in the registry works on a win 9x machine but not on a NT 4.0 machine. Does anybody have any idea why? I search the knowledge base here and found an artice that refers to using SQLGetPrivateProfileString but I can not find any information on the ODBC API function.
>>>>
>>>>Any help is greatly appreciated.
>Member of the Universal Thread Hotline support team



>There are two kinds of lazy programmers: the first kind is too lazy to automate anything, so they'd rather type the same 200 char command sequence over and over; the second kind reacts whenever they have to do anything more than three times - they automate the task, even if it takes three days to do and gets used only once
>(c) Dragan's friend
Chris Frybarger
IET, Inc.
3539 Glendale Ave.
Toledo, OH 43614
Phone: (419) 385-1233
Fax: (419) 385-0885
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform