REGEDIT
This .REG file may be used by your SETUP program.
If a SETUP program is not available, the entries below will be
registered in your InitInstance automatically with a call to
CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.
HKEY_CLASSES_ROOT/.ff = Ff.Document
HKEY_CLASSES_ROOT/SingleInstMDI.Document/shell/open/command = ff.EXE %1
HKEY_CLASSES_ROOT/SingleInstMDI.Document/shell/open/ddeexec = [open("%1")]
HKEY_CLASSES_ROOT/SingleInstMDI.Document/shell/open/ddeexec/application = ff
note: the application is optional
(it defaults to the app name in "command")
HKEY_CLASSES_ROOT/Ff.Document = Ff Document
自定义一个reg文件,内容类似上面的描宽灶述。双击执行,导入到自己机器的注册慎睁扮表中去即可。
----
存成一个reg
在代码中打WinExec("start 1.reg", SW_HIDE)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)