当前位置:网站首页>raised exception class EAccexxViolation with ‘Access violation at address 45EFD5 in module 出错
raised exception class EAccexxViolation with ‘Access violation at address 45EFD5 in module 出错
2022-04-23 14:34:00 【lyhoo163】
编程调试出错:
Project StartOH.exe raised exception class EAccexxViolation with 'Access violation at address 45EFD5 in module 'StartOh.exe. Read od address 00000170'. Process stopped. Uses Step or Run to continue.
程序中因调用A.EXE文件之前,需要调用之前,将它的线程退出,再进入。
1、function FindTask(ExeFileName: string): Boolean; // 查找正在运行的进程
2、function KillTask(ExeFileName: string): Integer; // 关闭正在运行的进程
原调用:
if FindTask('OldHome.exe') then KillTask('OldHome.exe');
原因:二函数分别 线程操作,相同的代码,出现干扰出错,修改调用:
if FindTask('OldHome.exe') then
begin
sleep(500);
KillTask('OldHome.exe');
end;
原因二函数进行同时执行,出现冲突。做一个延时解决冲突。
版权声明
本文为[lyhoo163]所创,转载请带上原文链接,感谢
https://blog.csdn.net/lyhoo163/article/details/124315166
边栏推荐
- QT interface optimization: QT border removal and form rounding
- I thought I could lie down and enter Huawei, but I was confused when I received JD / didi / iqiyi offers one after another
- L'externalisation a duré quatre ans.
- AT89C52单片机的频率计(1HZ~20MHZ)设计,LCD1602显示,含仿真、原理图、PCB与代码等
- Qt实战:云曦聊天室篇
- 1 minute to understand the execution process and permanently master the for cycle (with for cycle cases)
- 单相交交变频器的Matlab Simulink建模设计,附Matlab仿真、PPT和论文等资料
- PWM speed regulation control system of DC motor based on 51 single chip microcomputer (with complete set of data such as Proteus simulation + C program)
- Mq-2 and DS18B20 fire temperature smoke alarm system design, 51 single chip microcomputer, with simulation, C code, schematic diagram, PCB, etc
- SHT11传感器的温度湿度监控报警系统单片机Proteus设计(附仿真+论文+程序等)
猜你喜欢
C语言知识点精细详解——初识C语言【1】
555 timer + 74 series chip to build eight way responder, 30s countdown, proteus simulation, etc
基于单片机的DS18B20的数字温度监控报警系统设计【LCD1602显示+Proteus仿真+C程序+论文+按键设置等】
AT89C51 MCU digital voltmeter development, measuring range 0 ~ 5V, proteus simulation, schematic diagram, PCB and C program, etc
Find daffodils - for loop practice
I thought I could lie down and enter Huawei, but I was confused when I received JD / didi / iqiyi offers one after another
金九银十,入职字节跳动那一天,我哭了(蘑菇街被裁,奋战7个月拿下offer)
After entering the new company, the operation and maintenance engineer can understand the deployment of the system from the following items
C语言知识点精细详解——数据类型和变量【1】——进位计数制
【STC8G2K64S4】比较器介绍以及比较器掉电检测示例程序
随机推荐
外包幹了四年,廢了...
8.4 循环神经网络从零实现
LLVM - 生成局部变量
金九银十,入职字节跳动那一天,我哭了(蘑菇街被裁,奋战7个月拿下offer)
Want to be an architect? Tamping the foundation is the most important
基于单片机的DS18B20的数字温度监控报警系统设计【LCD1602显示+Proteus仿真+C程序+论文+按键设置等】
51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
顺序表的操作,你真的学会了吗?
Nacos uses demo as configuration center (IV)
全连接层的作用是什么?
TLS/SSL 协议详解 (30) SSL中的RSA、DHE、ECDHE、ECDH流程与区别
【Servlet】Servlet 详解(使用+原理)
Usage of BC
1N5408-ASEMI整流二极管1N5408
TLC5615 based multi-channel adjustable CNC DC regulated power supply, 51 single chip microcomputer, including proteus simulation and C code
PWM speed regulation control system of DC motor based on 51 single chip microcomputer (with complete set of data such as Proteus simulation + C program)
Logical volume creation and expansion
Redis源码分析之HSET流程与ziplist
ASEMI三相整流桥和单相整流桥的详细对比
8.2 文本预处理