有谁会做rgs文件?在线等待!·

guanjinke 2003-06-19 10:40:37
有没有人改过rgs文件,为什么我该以后,只能加入键,但是不能设定键值?
...全文
285 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
Semigod 2003-06-19
  • 打赏
  • 举报
回复
很容易,给你个例子吧
HKCR
{
Plugins2.FtpCracker.1 = s 'FtpCracker Class'
{
CLSID = s '{E5EC7352-D9EF-4dac-8A3D-011269C34D88}'
}
Plugins2.FtpCracker = s 'FtpCracker Class'
{
CLSID = s '{E5EC7352-D9EF-4dac-8A3D-011269C34D88}'
CurVer = s 'Plugins2.FtpCracker.1'
}
NoRemove CLSID
{
ForceRemove {E5EC7352-D9EF-4dac-8A3D-011269C34D88} = s 'FtpCracker Class'
{
ProgID = s 'Plugins2.FtpCracker.1'
VersionIndependentProgID = s 'Plugins2.FtpCracker'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Both'
}
val AppID = s '%APPID%'
'TypeLib' = s '{5247C41C-282D-44B9-BFB4-7D2B042C55B1}'
}
}
}
HKCU
{
NoRemove Software
{
NoRemove Semigod
{
NoRemove Scanner
{
NoRemove PwdGenerator
{
}
NoRemove Filter
{
}
NoRemove Cracker
{
ForceRemove {E5EC7352-D9EF-4dac-8A3D-011269C34D88} = s 'FtpCracker Class'
{
val Name = s 'FTP帐户破解器'
val SmallIcon = s '%MODULE%,1'
val NormalIcon = s '%MODULE%,1'
}
}
}
}
}
}
brave_heart 2003-06-19
  • 打赏
  • 举报
回复
《深入解析ATL》 p159 注册脚本文件
guanjinke 2003-06-19
  • 打赏
  • 举报
回复
难道没有吗?
arxing 2003-06-19
  • 打赏
  • 举报
回复
The scripts used by the ATL Registrar are described in this topic using BNF syntax, which uses the notation shown in the following table.

Convention/symbol Meaning
::= Equivalent
| OR
X+ One or more Xs.
[X] X is optional. Optional delimiters are denoted by [].
Any bold text A string literal.
Any italicized text How to construct the string literal.

As indicated in the preceding table, registrar scripts use string literals. These values are actual text that must appear in your script. The following table describes the string literals used in an ATL Registrar script.

String literal Action
ForceRemove Completely removes the next key (if it exists) and then re-creates it.
NoRemove Does not remove the next key during Unregister.
val Specifies that <Key Name> is actually a named value.
Delete Deletes the next key during Register.
s Specifies that the next value is a string (REG_SZ).
d Specifies that the next value is a DWORD (REG_DWORD).
m Specifies that the next value is a multistring (REG_MULTI_SZ).
b Specifies that the next value is a binary value (REG_BINARY).
yongdu 2003-06-19
  • 打赏
  • 举报
回复
深入解析ATL上讲得很清楚

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧