Datasnap problem again

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.