Error running exe file in Windows 10: Access violation at address

Asked 2 years ago, Updated 2 years ago, 98 views

When I run 'xxxxxx.exe' on Windows 10, I get the following error and I can't process it.

Access violation at address0066472F in module 'xxxxxx.exe'.Read of address0000007C.

If the above error occurs, please tell me how to check it, what to do, what to suspect, and what to do.

Language used: Delphi+C#
IDE: Migrating projects built with Rad Studio 10.2 to 10.4 to develop


In the main module display process, part of the "Installed Design Package" combined with the main module uses clause became nil, and as a result, I tried to set the internal properties of the nil part and found that "Access violation" was output.
·The problematic design package was successfully installed in Rad Studio 10.4 and is listed in the design package list
·Open the problem package directly in Rad Studio 10.4 and clean up and build successfully
·Access violation error occurs when debugging is performed in Rad Studio 10.4
"·A ""read violation"" error also occurs when starting the module exe built in Rad Studio 10.4

"

<What we've seen and tried>
"·The point that was changed just before this problem occurred is ""Change Rad Studio from 10.2 to 10.4"" ( .NET 3.5.2 for build terminals and .NET 4.6 for 4 series are introduced)
" "·When the ""Access violation"" error occurred, the debugger tried to add components from the module screen, but ""could not read""
"" ·As for the compilation designation of the module, the compilation version of Rad Studio 2007 was the highest (VCL4).The error persists after rebuilding in Rad Studio 10.4.
"·The point that was changed just before this problem occurred is ""Change Rad Studio from 10.2 to 10.4"" ( .NET 3.5.2 for build terminals and .NET 4.6 for 4 series are introduced)
" "·When the ""Access violation"" error occurred, the debugger tried to add components from the module screen, but ""could not read""
"" ·As for the compilation designation of the module, the compilation version of Rad Studio 2007 was the highest (VCL4).The error persists after rebuilding in Rad Studio 10.4.
·Other modules such as Oracle client DLLs can be loaded.
·Rad Studio error pop-up indicating that there is no TQuery when attempting to open the pas module for database access in the designer
"·The module in question was ""started and worked on the module after build"" in Rad Studio 10.2 and .NET 3.5."
"·Upgraded to Rad Studio 10.4, and migrated the design package list with the ""Migration Tool"" provided by Embacadero."
"·After the problem occurred, the item was removed from the ""Design Package List"" and after the module was cleaned up and built, the installation of the package confirmed the successful registration."
·After cleaning up and building, I checked the boot again with the debugger, and when I was setting the instance of the module, the original contents of the set were nil.

c# delphi rad-studio

2022-09-29 22:47

1 Answers

Is it an application that connects databases with BDE?TQuery is a component of BDE, but if the IDE designer cannot open it, it seems that BDE is not installed.
You can download BDE from Embacadero's portal site https://my.embarcadero.com/ (BDE for RAD Studio 10.4), so try installing it here.


2022-09-29 22:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.