为什么D7开发的NT服务程序在WIN2003上无法运行呢?(XP,2000都是好的啊!急啊............)(80分)

J

jack011

Unregistered / Unconfirmed
GUEST, unregistred user!
我用的是Delphi7编译的,谁知道咋个解决这问题呢?
//Application.DelayInitialize := True;//不能编译
// 在Windows 2003上运行服务可以加上面一句
// if not Application.DelayInitialize or Application.Installing then
//不能编译
Application.Initialize;
Application.CreateForm(TTestNT, TestNT);
Application.Run;
 
D

dprj

Unregistered / Unconfirmed
GUEST, unregistred user!
会不会是操作员权限问题?
服务好像要是 系统管理员 权限;
 
H

haiip2000

Unregistered / Unconfirmed
GUEST, unregistred user!
不知原因,帮你顶一下。
我跟你一样在用D7+win2003。
做服务程序时没有出现这样的问题,只是在2000高级服务器版运行服务的时候,需要调整权限。
 
J

jack011

Unregistered / Unconfirmed
GUEST, unregistred user!
多人接受答案了。
 

Similar threads

S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
793
SUNSTONE的Delphi笔记
S
顶部