Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by PaoloItaly
Tue, 08 Apr 2003 09:14
Registering dll
Author: PaoloItaly
Date: Tue, 08 Apr 2003 09:14
Date: Tue, 08 Apr 2003 09:14
6 lines
1234 bytes
1234 bytes
hallo and thanks in advance, 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" When the application start, give an exception that tell that the component "MYCOMPONENT.DLL" was not found and require a new installation.
Re: Registering dll
Author: 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
Re: Registering dll
Author: Ellis
Date: Tue, 08 Apr 2003 22:58
Date: Tue, 08 Apr 2003 22:58
15 lines
1440 bytes
1440 bytes
Hi PaoloItaly :) Why dont you use the LoadLibrary function ? Ellis "PaoloItaly" <paolo@sirius.tecnoparco.it> wrote in message news:3e9292fd@newsgroups.borland.com... > hallo and thanks in advance, > 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" > When the application start, give an exception that tell that the component > "MYCOMPONENT.DLL" was not found and require a new installation. > >
Re: Registering dll
Author: PaoloItaly
Date: Wed, 09 Apr 2003 07:04
Date: Wed, 09 Apr 2003 07:04
10 lines
1157 bytes
1157 bytes
"Ellis" <safariparty@hotmail.com> ha scritto nel messaggio news:3e9353fa$3@newsgroups.borland.com... > Hi PaoloItaly :) > Why dont you use the LoadLibrary function ? > > Ellis > Yes if there aren't other way Thanks
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads