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 

Register DLL from within Delphi?

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





PostPosted: Tue Dec 23, 2003 1:48 pm    Post subject: Register DLL from within Delphi? Reply with quote



A really basic question: I need to register a COM object (DLL) used by my
application. This can be done by the program installer or manually using
regsvr32. So far so good.

My question: Is there any way that the application itself can check if the
DLL is registered? If not: Register the DLL automatically, or simply
disregard the component/code which uses this particular DLL.

Does this make any sense?

Jarle



Back to top
Noel
Guest





PostPosted: Thu Dec 25, 2003 5:30 pm    Post subject: Re: Register DLL from within Delphi? Reply with quote



On Tue, 23 Dec 2003 14:48:02 +0100, "Jarle Aasland"
<jaaslan.no.spam (AT) online (DOT) no> wrote:

Quote:
A really basic question: I need to register a COM object (DLL) used by my
application. This can be done by the program installer or manually using
regsvr32. So far so good.

My question: Is there any way that the application itself can check if the
DLL is registered? If not: Register the DLL automatically, or simply
disregard the component/code which uses this particular DLL.

Look at the code for TRegSvr in the DemosActiveX directory for some
clues on how you can do this from within your app.


--
Noel

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.