Delphi7 problem in win7 64bit System

Source: Internet
Author: User

Previously, Delphi7 runs normally on win7 64bit. Some system patches (usually through 360) may occur one day:

1. When Delphi exits, it will crash. After several design packages are not installed, the problem disappears;

2. If a previous project is compiled using runtimepackage and the EXE exits, it also crashes. However, when the test path is identical, it does not run every time. The tracing result is found in unloadpackage --> freelibrary --> oleaut32.dll/sysfreestring

 

Solution steps:

1. Run the command with the administrator account. No solution.

2. Run the command in compatible WINXP SP3 mode. No solution.

3. Check SFC/scannow from msdn to check the DLL of the repair system. It took more than an hour to execute the check. No oleaut32.dll was found in the TXT report. No solution.

4. check whether any system patch is installed through Windows Update. Still not solved.

5. Restore the operating system with the original ISO once.

6.ProgramCopy to another computer for execution. WINXP, win7 32bit, and win7 64 bit cannot be reproduced.

7. It may be that DCP with the same name is available in different directories (Borland \ Delphi \ Lib and Borland \ projects \ BPL, such as tee. DCP, because we bought the Professional Edition; Indy. DCP, with the open-source version 9018). As a result, BPL uses different DCP for compilation, resulting in inconsistent address layout. Delete the old DCP and compile it all again. Haha, the problem is solved. This problem was previously encountered in a similar situation, but it was a strange AV error. It was also found for a long time. This time I thought it was a problem with the operating system, and I was puzzled. why did this happen not every time? There should be a deeper reason why I didn't find it.

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.