SQLExecute fails in 64 bit machine returning 99 code which indicates data needs to be provided for parameters

Answered SQLExecute fails in 64 bit machine returning 99 code which indicates data needs to be provided for parameters

  • Thursday, August 02, 2012 11:07 AM
     
     
    I am migrating my application from 32bit(Windows 2000 Server) to 64bit (Windows 2008 Server R2).

    I am getting the following while trying to execute a SQL command

    Basically internal function call is SQLExecute() function call. This works perfectly for Windows 2000 Server 32bit. I tried the command execute at the background from the command prompt and it is working.

    Any help or suggestion would be very much appreciated.

    I checked the squence of call.We have two consecutive SQLBindParameter function call and then we call SQLExecute. Is this sequence incorrect in case of 64bit? I also checked the return code given by SQLExecute which is 99.

    Any pointers or suggestions would be very helpful. The above sequence is working fine with 32bit Windows.

    Thanks in advance.

All Replies