BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to programmatically regsvr32

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Eugene V. Goldberg
Guest





PostPosted: Tue Jan 27, 2004 3:51 pm    Post subject: how to programmatically regsvr32 Reply with 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
Ian Kirk
Guest





PostPosted: Tue Jan 27, 2004 4:38 pm    Post subject: Re: how to programmatically regsvr32 Reply with quote



"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





PostPosted: Tue Jan 27, 2004 4:58 pm    Post subject: Re: how to programmatically regsvr32 Reply with 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

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





PostPosted: Tue Jan 27, 2004 5:20 pm    Post subject: Re: how to programmatically regsvr32 Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.