Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 建议脚本增加导出WinExec 函数
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 建议脚本增加导出WinExec 函数
boatzm
普通灌水员
UID 1918
Digest Posts 0
Credits 84
Posts 39
点点分 84
Reading Access 10
Registered 2006-3-1
Status Offline
#1
Post at 2008-9-22 17:55
Profile
|
Blog
|
P.M.
建议脚本增加导出WinExec 函数
方便自己用脚本调用自己的一些小工具嘛。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2008-9-23 09:10
Profile
|
Blog
|
P.M.
这个API是由于PascalScript自身未能导出,我们可以考虑做个封装再导出。
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#3
Post at 2008-9-23 09:13
Profile
|
Site
|
Blog
|
P.M.
可以用CnCommon中导出的函数
procedure RunFile(const FName: string; Handle: THandle = 0;
const Param: string = '');
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
boatzm
普通灌水员
UID 1918
Digest Posts 0
Credits 84
Posts 39
点点分 84
Reading Access 10
Registered 2006-3-1
Status Offline
#4
Post at 2008-9-23 10:04
Profile
|
Blog
|
P.M.
哦。好谢谢哈~~
PS:补充一下,刚才试了一下,可以用哈。 不过不能缺省参数,必须要参数给全,不晓得是不是机制决定的。 hoho :)
[
本帖最后由 boatzm 于 2008-9-23 10:10 编辑
]
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2008-9-23 11:07
Profile
|
Blog
|
P.M.
确实是Pascal Script的缺陷或者说规定。我们在帮助里头也写了,可以看看。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 09:54
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007182 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats