Article View: borland.public.cppbuilder.nativeapi
Article #17076Re: Registering dll
From: Remy Lebeau (TeamB)
Date: Tue, 08 Apr 2003 16:18
Date: Tue, 08 Apr 2003 16:18
23 lines
1941 bytes
1941 bytes
"PaoloItaly" <paolo@sirius.tecnoparco.it> wrote in message news:3e9292fd@newsgroups.borland.com... > It's possible to specify the path of the dll in a builder application > to avoid the registration of the needed dll with "REGSVR32.EXE > C:\MY\MYCOMPONENT.DLL" Not if the DLL is an ActiveX DLL, no. The REGSVR32 is required. It has nothing to do with just the path of the DLL. The use of REGSVR32 also allows the DLL to register with the OS whatever interfaces and such it exposes for public use. Just loading the DLL it not enough, the OS needs those registrations as well. > When the application start, give an exception that tell that the > component "MYCOMPONENT.DLL" was not found and > require a new installation. Because your DLL is not registered properly, thus the system doesn't know about the things it exposes, so when your application tries to use them, the OS doesn't know what they are or how to create them, and thus fails. Gambit
Technical Details
Message-ID:
<3e92f67f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3e9292fd@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ec5ec914615ace69 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-08 09:20:36 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9292fd@newsgroups.borland.com> Subject: Re: Registering dll Date: Tue, 8 Apr 2003 09:18:49 -0700 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e92f67f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049818751 207.175.226.26 (8 Apr 2003 09:19:11 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail