不能创建进程:拒绝访问 是出了什么问题?
delphi吧
全部回复
仅看楼主
level 1
长虹64 楼主
我就想自己定义一个无参数过程试试,窗体里就放一个按钮一个edit 框框。
结果运行时弹出一个窗口(不能是能通过编译) ‘’ 不能创建进程:拒绝访问‘’
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
procedure a;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.a;
begin
edit1.Text :=*试试*;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
a;
end;
end.
2014年08月19日 13点08分 1
level 1
长虹64 楼主
莫名其妙的问题,重起电脑后莫名其妙的解决了。那位指点一下这个问题是怎么回事?
2014年08月19日 13点08分 2
吧务
level 14
别用d7。用最新版本。
2014年08月19日 18点08分 3
和d7有一毛钱关系?
2014年08月19日 23点08分
吧务
level 14
一般来说有可能是以前生成的同名exe还在运行。哪怕是出错了只在后台运行。
2014年08月19日 18点08分 4
1