Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
rahul.bedge
Starting Member
1 Post |
Posted - 2010-04-21 : 02:43:09
|
| Hi I am trying to give 64 bit Native support to my 32 bit database application using sqlncli library. On 32 bit application I managed to set the DBBINDINGS properly. The code works fine without problems. When providing the 64bit support the DBBINDINGS needs to be properlly aligned. I have no idea as to how this needs to be done. I tried adjusting the length to 8 bytes but its not working. When I execute the query all the char fields miss first 3 chars and numeric values are very long -ve numbers. So I assume that there is some problem with the DBBINDINGS. The OS that I am using is windows XP 64 bit with sqlncli 64 bit installed and the database is on windows xp 32 bit. Please note Application 64 bit native and the database is on 32 bit Native. It would be really helpful if you could point me to a working source code. I have used the following code for 32 bit application.http://www.koders.com/cpp/fidB95F142BABD9C62690008E19B0DD3138A97C01FF.aspx |
|
|
|
|
|