当前位置:网站首页>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
边栏推荐
- 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)
- AT89C51 MCU digital voltmeter development, measuring range 0 ~ 5V, proteus simulation, schematic diagram, PCB and C program, etc
- Use of ansible and common modules
- 分分钟掌握---三目运算符(三元运算符)
- Parameter stack pressing problem of C language in structure parameter transmission
- 数组模拟队列进阶版本——环形队列(真正意义上的排队)
- 抑郁症治疗的进展
- 51单片机+LCD12864液晶显示的俄罗斯方块游戏,Proteus仿真、AD原理图、代码、论文等
- Golang 对分片 append 是否会共享数据
- ASEMI超快恢复二极管与肖特基二极管可以互换吗
猜你喜欢
顺序表的操作,你真的学会了吗?
Tongxin UOS uninstall php7 2.24, install php7 4.27 ; Uninstall and then install PHP 7.2.34
Mq-2 and DS18B20 fire temperature smoke alarm system design, 51 single chip microcomputer, with simulation, C code, schematic diagram, PCB, etc
一款不错的工具:aardio
八路抢答器系统51单片机设计【附Proteus仿真、C程序、原理图及PCB文件、元器件清单和论文等】
成都控制板设计提供_算是详细了_单片机程序头文件的定义、编写及引用介绍
51单片机+LCD12864液晶显示的俄罗斯方块游戏,Proteus仿真、AD原理图、代码、论文等
Proteus simulation design of four storey and eight storey elevator control system, 51 single chip microcomputer, with simulation and keil c code
555 timer + 74 series chip to build eight way responder, 30s countdown, proteus simulation, etc
TLS/SSL 协议详解 (28) TLS 1.0、TLS 1.1、TLS 1.2之间的区别
随机推荐
flannel 原理 之 TUN模式
ssh限制登录的四种手段
MQ-2和DS18B20的火灾温度-烟雾报警系统设计,51单片机,附仿真、C代码、原理图和PCB等
Matlab Simulink modeling and design of single-phase AC-AC frequency converter, with MATLAB simulation, PPT and papers
A blog allows you to learn how to write markdown on vscode
Qt实战:云曦聊天室篇
机器学习之逻辑回归(Logistic Regression)原理讲解和实例应用,果断收藏
qt之.pro文件详解
【NLP】HMM隐马尔可夫+维特比分词
四层和八层电梯控制系统Proteus仿真设计,51单片机,附仿真和Keil C代码
DVWA之暴力破解(Brute Force)Low-->high
Use cases of the arrays class
成都控制板设计提供_算是详细了_单片机程序头文件的定义、编写及引用介绍
Unity_代码方式添加绑定按钮点击事件
Qt界面优化:Qt去边框与窗体圆角化
setcontext getcontext makecontext swapcontext
OpenFaaS实战之四:模板操作(template)
51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
8.3 语言模型与数据集
Use of ansible and common modules