Advertisement
7_2009-2012 Windows System Services #231433

Register a DLL with only 3 lines!

Register your DLLs with only 3 lines of code, simple and effective. Please vote and leave your comments.

AI

ИИ-обзор: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Исходный код
original-source
'Set the directory of your DLL
dllpath="C:\Windows\mydll.dll"
'Call the FileSystemObject for
'retrieving the Windows Folder
Set fso=CreateObject("Scripting.FileSystemObject")
'Call the Reg DLL Server in the Windows dir
'and pass the DLL path as a parameter
Shell(fso.GetSpecialFolder(0) & "\regsvr32.exe " & dllpath, vbHide)
Оригинальные комментарии (3)
Восстановлено из Wayback Machine