English:
Hi...
Many peoples, uses the regsvr32.exe for register DLL and OCX files,
but have a trick for it.
Do you can register a DLL or OCX file, without regsvr32.exe !
Do you can make too, a registry entry for make a option in a
context menu "mouse right click" in the DLL or OCX files.
For register DLL or OCX, do you can use the command:
rundll32 yourdll.dll,DLLRegisterServer
rundll32 yourocx.ocx,DLLRegisterServer
For unregister DLL or OCX:
rundll32 yourdll.dll,DLLUnregisterServer
rundll32 yourocx.ocx,DLLUnregisterServer
If do you want make a "Right mouse-click" option, when you click in the
DLL or OCX files, enter in the REGEDIT and make the options:
For DLL Register:
HKEY_CLASSES_ROOT\dllfile
Make a new key "Shell":
HKEY_CLASSES_ROOT\dllfile\shell
Make a new key "Register":
HKEY_CLASSES_ROOT\dllfile\shell\register
In the "Default" value, type: "DLL Register"
And make a new key "Command":
HKEY_CLASSES_ROOT\dllfile\shell\register\command
In the "Default" value, type:
rundll32.exe "%1",DllRegisterServer
For DLL Unregister:
HKEY_CLASSES_ROOT\dllfile
Make a new key "Shell":
HKEY_CLASSES_ROOT\dllfile\shell
Make a new key "Unregister":
HKEY_CLASSES_ROOT\dllfile\shell\unregister
In the "Default" value, type: "DLL Unregister"
And make a new key "Command":
HKEY_CLASSES_ROOT\dllfile\shell\unregister\command
In the "Default" value, type:
rundll32.exe "%1",DllUnregisterServer
For OCX Register:
HKEY_CLASSES_ROOT\ocxfile
Make a new key "Shell":
HKEY_CLASSES_ROOT\ocxfile\shell
Make a new key "Register":
HKEY_CLASSES_ROOT\ocxfile\shell\register
In the "Default" value, type: "OCX Register"
And make a new key "Command":
HKEY_CLASSES_ROOT\ocxfile\shell\register\command
In the "Default" value, type:
rundll32.exe "%1",DllRegisterServer
For OCX Unregister:
HKEY_CLASSES_ROOT\ocxlfile
Make a new key "Shell":
HKEY_CLASSES_ROOT\ocxfile\shell
Make a new key "Unregister":
HKEY_CLASSES_ROOT\ocxfile\shell\unregister
In the "Default" value, type: "OCX Unregister"
And make a new key "Command":
HKEY_CLASSES_ROOT\ocxfile\shell\unregister\command
In the "Default" value, type:
rundll32.exe "%1",DllUnregisterServer
Copyright (C), 2000-2001, By Senna Spy
Made in Brazil
[]'s
Senna Spy
------------------------------------------------------------------------------------------------------------
Portugues:
Ola...
Muitas pessoas, usa o arquivo regsvr32.exe para registrar arquivos DLL
e OCX, mas, existe um truque para isto.
Voce pode registrar um arquivo DLL ou OCX, sem usar o regsvr32.exe !
Voce pode tambem, criar uma entrada no Registry, para criar uma opcao
no menu de contexto "clicando com o botao direito do mouse", em arquivos
DLL ou OCX.
Para registrar arquivos DLL ou OCX, voce pode usar o comando:
rundll32 suadll.dll,DLLRegisterServer
rundll32 suaocx.ocx,DLLRegisterServer
Para desregistrar arquivos DLL ou OCX:
rundll32 suadll.dll,DLLUnregisterServer
rundll32 suaocx.ocx,DLLUnregisterServer
Se voce quer criar uma opcao "Clicada com o botao direito do mouse",
entao, entre no REGEDIT e crie as opcoes:
Para registrar DLL:
HKEY_CLASSES_ROOT\dllfile
Crie uma nova chave "Shell":
HKEY_CLASSES_ROOT\dllfile\shell
Crie uma nova chave "Register":
HKEY_CLASSES_ROOT\dllfile\shell\register
No valor "Padrao", digite: "DLL Register"
E crie uma nova chave: "Command":
HKEY_CLASSES_ROOT\dllfile\shell\register\command
Na opcao "Padrao", digite:
rundll32.exe "%1",DllRegisterServer
Para Desregistrar uma DLL:
HKEY_CLASSES_ROOT\dllfile
Crie a chave "Shell":
HKEY_CLASSES_ROOT\dllfile\shell
Crie a chave "Unregister":
HKEY_CLASSES_ROOT\dllfile\shell\unregister
No valor "Padrao", digite: "DLL Unregister"
E crie a nova chave: "Command":
HKEY_CLASSES_ROOT\dllfile\shell\unregister\command
No valor "Padrao", digite:
rundll32.exe "%1",DllUnregisterServer
Para registrar OCX:
HKEY_CLASSES_ROOT\ocxfile
Crie uma nova chave "Shell":
HKEY_CLASSES_ROOT\ocxfile\shell
Crie uma nova chave "Register":
HKEY_CLASSES_ROOT\ocxfile\shell\register
No valor "Padrao", digite: "OCX Register"
E crie uma nova chave: "Command":
HKEY_CLASSES_ROOT\ocxfile\shell\register\command
Na opcao "Padrao", digite:
rundll32.exe "%1",DllRegisterServer
Para Desregistrar um OCX:
HKEY_CLASSES_ROOT\ocxfile
Crie a chave "Shell":
HKEY_CLASSES_ROOT\ocxfile\shell
Crie a chave "Unregister":
HKEY_CLASSES_ROOT\ocxfile\shell\unregister
No valor "Padrao", digite: "OCX Unregister"
E crie a nova chave: "Command":
HKEY_CLASSES_ROOT\ocxfile\shell\unregister\command
No Valor "Padrao", digite:
rundll32.exe "%1",DllUnregisterServer
Copyright (C), 2000-2001, By Senna Spy
Made in Brazil
[]'s
Senna Spy
MegaSecurity