Home > Software engineering >  In the Windows 7 (64 bits) and VC2013 using ado
In the Windows 7 (64 bits) and VC2013 using ado

Time:09-25

I had always use your true under winXP and VC6 version 0.20 of the ado wrapper class, no problem, but now want to in a Windows 7 (64 bits) and vs2013 with, but will be in the wrapper class ado. H/adocommand. H/adorecordset. H and corresponding CPP file, added to the project, always a compiler error, how is this to return a responsibility excuse me? Oh, my project is the Unicode character set, I also need to use Unicode,

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
Under win64 a system set up 32-bit programs use a database alias to c: \ Windows \ \ syswow64 \ cliconfg exe
Under win64 a system set up a 32-bit application system DSN to c: \ Windows \ \ syswow64 \ odbcad32 exe

CodePudding user response:

Your problem solved? Can you provide a devolved

CodePudding user response:

It depends on what specific compiler error, Windows API might have changed, need to modify, there are some LINK error, probably some dependent libraries need to recompile; Vc6 to other vs2013 span such a large, migration effort not less...

CodePudding user response:


Ado I abandoned or odbc is the most basic

CodePudding user response:

See if your Windows 7 sp1
Can refer to this, I've met
https://www.cnblogs.com/SilenceRet/p/7198303.html
  • Related