Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry difference between win 9x and NT
Message
 
 
To
22/01/2003 09:58:30
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00744211
Message ID:
00744247
Views:
8
This message has been marked as the solution to the initial question of the thread.
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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform