当前位置:网站首页>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
边栏推荐
- Man man notes and @ reboot usage of crontab
- 1分钟看懂执行流程,永久掌握for循环(附for循环案例)
- 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)
- Matrix exchange row and column
- JS format time
- 【NLP】HMM隐马尔可夫+维特比分词
- 1 minute to understand the execution process and permanently master the for cycle (with for cycle cases)
- AT89C51 MCU digital voltmeter development, measuring range 0 ~ 5V, proteus simulation, schematic diagram, PCB and C program, etc
- Redis源码分析之HSET流程与ziplist
- API Gateway/API 网关(二) - Kong的使用 - 负载均衡Loadbalance
猜你喜欢
TLC5615 based multi-channel adjustable CNC DC regulated power supply, 51 single chip microcomputer, including proteus simulation and C code
c语言在结构体传参时参数压栈问题
SVN详细使用教程
Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot
C语言知识点精细详解——初识C语言【1】
UML项目实例——抖音的UML图描述
8.3 语言模型与数据集
成都控制板设计提供_算是详细了_单片机程序头文件的定义、编写及引用介绍
八路抢答器系统51单片机设计【附Proteus仿真、C程序、原理图及PCB文件、元器件清单和论文等】
MySQL报错packet out of order
随机推荐
Want to be an architect? Tamping the foundation is the most important
Logical volume creation and expansion
Some little records~
Qt界面优化:Qt去边框与窗体圆角化
机器学习之逻辑回归(Logistic Regression)原理讲解和实例应用,果断收藏
UML项目实例——抖音的UML图描述
Web page, adaptive, proportional scaling
Sed learning for application
IE8 browser prompts whether to block access to JS script
51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
LM317的直流可调稳压电源Multisim仿真设计(附仿真+论文+参考资料)
Gif to still image processing
C语言知识点精细详解——初识C语言【1】
AT89C51单片机的数字电压表开发,量程0~5V,proteus仿真,原理图PCB和C程序等
Outsourcing for four years, abandoned
Matrix exchange row and column
SHT11传感器的温度湿度监控报警系统单片机Proteus设计(附仿真+论文+程序等)
MDS55-16-ASEMI整流模块MDS55-16
API Gateway/API 网关(二) - Kong的使用 - 负载均衡Loadbalance
TLC5615 based multi-channel adjustable CNC DC regulated power supply, 51 single chip microcomputer, including proteus simulation and C code