ODBC 16/32 bit thunking fails

ODBC 16/32 bit thunking fails

Post by Leor Amik » Thu, 06 Apr 1995 04:00:00



Has anyone encountered the following problem on NT:

1. Install a 32-bit ODBC driver.
2. write a 16-bit app that does a SetParameter (or BindParameter)
3. execute a SQL statement with the bound parameter.
4. Always get back error #47 - Wrong number of parameters!

When I run ODBC spy, these is not even any trace that the 32-bit driver
gets a SQLSetParam call.

If I run the same code with 16-bit program/16-bit driver on NT, all
works.  Is the WOW thunking broken, and if so, is there a fix?

 
 
 

1. thunking (calling 16 bit dll's from 32 bit app)

Hi there,

Can anybody give me any information or tell me where I can find any on
thunking (calling 16 bit dll's from my delphi 2.0 app). A good example would
be the best.

Thanks in advance.

 ,-,-,-.            ,---.    ,-,---.      .          .   .
 `,| | |  ,-.,-.. , |  -'     '|___/. .,-.|-.. , ,,-.| ,-|
   | ; | .,-||  |/  |  ,-',.  ,|   \| ||  | ||/|/ ,-|| | |
   '   `-'`-^'  |\  `---| `' `-^---'`-'`-'' '' '  `-^`'`-'
                ' `  ,-.|
                     `-+'

2. cygwin1.dll

3. Thunking from 32-bit to 16-bit

4. ! US-FL-Orlando: Oracle GURU NEEDED!!

5. AS/400 RUMBA 95 16/32 BIT ODBC Thunking Question

6. Upgrading from Paradox 3.5 for DOS

7. Migrating 16-bit ODBC DLL (SQLServer) to 32-bit ODBC DLL (MS Access)

8. Visual Basic Programmers, Markham

9. InstallScout 16-bit passes 32-bit fails

10. Generic Thunking (16 to 32 bits) in 9.1D ODBC Driver

11. 16-bit/32-bit ODBC drivers - NT Environment