otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.54k stars 149 forks source link

Run 16 bits application that it works with an ODBC Configuration #727

Open josen11 opened 4 years ago

josen11 commented 4 years ago

I'm trying to run an 16bits application with a ODBC Connection. When I run the application there is no problem, but application can't call the host's odbc configuration.

image

how can I inherit this configuration in OTVDM?

cracyc commented 4 years ago

You need the thunk dlls ODBC16GT.DLL and ODBC32GT.DLL installed. The they aren't you'll need the win16 odbc setup mentioned in https://jeffpar.github.io/kbarchive/kb/140/Q140697/ .

josen11 commented 4 years ago

Thanks. I'm sorry I explained wrong my problem. I'm using ovtdm-v0.7.0 to run a 16bits Fox Pro application in Windows 10 64 bits. The steps that I follow in Windows 10 32 Bits are:

  1. I map to the server throw a network drive
  2. I create an ODBC connection to the same route of the network drive
  3. I run the application. In case of Windows 64 bits, I repeat the 2 first steps and in the end Im using ovtdm to run the application. This runs but can't inherint the odbc connection from host pc.