 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Eugene V. Goldberg Guest
|
Posted: Tue Jan 27, 2004 3:51 pm Post subject: how to programmatically regsvr32 |
|
|
Hello,
I need to register DLL, and avoid any messages which regsvr32 shows
(registered successfully etc).
How this can be done?
Thanx,
Eugene.
|
|
| Back to top |
|
 |
Ian Kirk Guest
|
Posted: Tue Jan 27, 2004 4:38 pm Post subject: Re: how to programmatically regsvr32 |
|
|
"Eugene V. Goldberg" <egold (AT) mts-nn (DOT) ru> wrote
| Quote: | Hello,
I need to register DLL, and avoid any messages which regsvr32 shows
(registered successfully etc).
How this can be done?
|
Add a "/s" (without the quotes!) to the regsvr32 command line to run it in
"silent" mode - when this is done it avoids putting up any message boxes.
Use "/?" to see the (very few) extra parameters you can use with regsvr32.
HTH,
Ian
|
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Tue Jan 27, 2004 4:58 pm Post subject: Re: how to programmatically regsvr32 |
|
|
Would would you want to use regsvr32.exe? If you are installing a dll from
your code, simply use LoadLibrary, then GetProcAddress('DllRegisterServer'),
then call DllRegisterServer() from that dll.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Eugene V. Goldberg" <egold (AT) mts-nn (DOT) ru> wrote
| Quote: | Hello,
I need to register DLL, and avoid any messages which regsvr32 shows
(registered successfully etc).
How this can be done?
Thanx,
Eugene.
|
|
|
| Back to top |
|
 |
Eugene V. Goldberg Guest
|
Posted: Tue Jan 27, 2004 5:20 pm Post subject: Re: how to programmatically regsvr32 |
|
|
Thanx Dmitry, that is what i need, so simple.
"Dmitry Streblechenko" <dmitry (AT) dimastr (DOT) com> wrote
| Quote: | Would would you want to use regsvr32.exe? If you are installing a dll from
your code, simply use LoadLibrary, then
GetProcAddress('DllRegisterServer'),
then call DllRegisterServer() from that dll.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Eugene V. Goldberg" <egold (AT) mts-nn (DOT) ru> wrote in message
news:401688fc (AT) newsgroups (DOT) borland.com...
Hello,
I need to register DLL, and avoid any messages which regsvr32 shows
(registered successfully etc).
How this can be done?
Thanx,
Eugene.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|