Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC driver version
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01183169
Message ID:
01184077
Views:
19
Hi Andrus,

AGETFILEVERSION() return version of DLL

SQLGetInfo and SQL_ODBC_VER, SQL_DRIVER_ODBC_VER return of support' version ODBC standard

The path of DLL is in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\[Name of ODBC driver]
Key Driver,
"Driver"="C:\\WINDOWS\\System32\\\\myodbc3.dll"

MartiJ


>Martin,
>
>thank you.
>Can you confirm that there is no API call which can return vendor provided (in my case PostgreSQL odbc driver ) version without extracting it from dll ?
>
>How I can determine the location where PostgreSQL odbc driver dll file is located ?
>
>
>>Hi Andrus,
>>
>>Ah so...
>>
>>If you know which DLL use the ODNC driver:
>>
>>?AGETFILEVERSION(xxa,"C:\WINDOWS\system32\vfpodbc.dll")
>>
>>MartiJ
>>
>>>Thank you.
>>>
>>>I tried this and got output
>>>
>>> 03.52.0000
>>> 03.51_0000
>>>
>>>However version column in XP ODBC data sources shows that driver version is
>>>
>>>8.02.02.00
>>>
>>>What I'm doing wrong ?
>>>I used connection string
>>>
>>>connectstring = "DRIVER={PostgreSQL Unicode};"+ ;
>>> "DATABASE=mydb;"+ ;
>>> "SERVER=localhost;" + ;
>>> "PORT=5432;"+ ;
>>> "UID=admin;"+ ;
>>> "B9=0"
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform