Recently, when debugging the datasnap program, we suddenly found that tclientdataset could not be opened. The error message is invalid dsnap200.bpl address access, for example:
It's weird. Just create a project, only tsqlconnection, tsqlquery, tdatasetprovider, and tclientdataset, such:
When clientdataset1 is enabled, the following error is reported. during runtime, an invalid address access error is reported. At first, I thought the system had suffered, So I restored the C disk of the reorganization system in February, but the problem remained a bit confusing. Later, I added midaslib to the project file and added datasnap to the program for running, but it was normal. Suddenly, it should be the problem of the Software. dll. A lot of files are found on the C drive, such:
Because the 64-bit Windows 7 is installed, we found that there is a file named "Midas. dll" under "syswow64", and re-register the 32-bit version of "Das. dll" in the "bin" directory of the installation path:
Regsvr32 c: \ Program Files (x86) \ Embarcadero \ studio \ 14.0 \ bin \ das. dll
Then everything is OK.
It is estimated that the problem is when the 64-bit version of. when the DLL is registered, the IDE calls the 64-bit version when launching clientdataset, while the IDE environment is still 32-bit, so an error is reported.
Datasnap problem again