Re: Accessing a DLL without registering it
- From: alpine <alpine_don'tsendspam@xxxxxxxx>
- Date: Mon, 05 Feb 2007 12:13:53 -0700
Yes, you can bypass the COM loader and load COM objects directly which
eliminates the need for the registry information. The best source for
VB relevant info on the subject and examples is Matt Curland's
Advanced VB6 book.
HTH,
Bryan
_________________________________________________________
Bryan Stafford "Don't need no more lies"
New Vision Software - Neil Young -
www.mvps.org/vbvision Living With War : The Restless Consumer
alpineDon'tSpam@xxxxxxxx
On Mon, 5 Feb 2007 13:15:54 -0500, "Thomas Malia"
<tommalia@xxxxxxxxxxxxxxxx> wrote:
I did some quick scans of the Google search results, but they all seem to
talk about how to use COM objects in .NET programs without haveing to
register the COM libarary... In my case, both the DLL and the EXE are "Real
VB" ;-) VB6 not VB .NET... can the same thing be done in my VB6
application? If so, how?
"Chris Dunaway" <dunawayc@xxxxxxxxx> wrote in message
news:1170698591.323366.275470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 5, 10:43 am, "Thomas Malia" <tomma...@xxxxxxxxxxxxxxxx> wrote:
Hey folks,
I've written a custom DLL that I'm using within several new EXE's. For
distribution of these programs, I'd really rather NOT require any setup
process to need to be run for each workstation that the program might be
run
from. I'd rather be able to install the EXE and the DLL to a shared
directory on a server and then just let people directly launch the program
from the share without having to run any setup processes.
I had thought that actually registration of a DLL was only necessary if
the
DLL could not be found in the directory where the program was running
from.
However, so far I have not been able to get my applications to run without
explicitly registering the DLL (using Regsrv32.exe).
Is this an absolute requirement? Isn't there some way to create a
reference
to a DLL in an EXE that will first try to find the necessary DLL in the
search path of the application and IF it doesn't find it there, then look
in
the registry? I'm sure this is my naiveté about using DLL that's the
problem here. there most be something that can be done that I'm just not
familiar with.
Thanks in advance for any help,
Tom Malia
Do a google search for "Registration Free COM". There are a number of
articles that might help you.
Chris
.
- References:
- Accessing a DLL without registering it
- From: Thomas Malia
- Re: Accessing a DLL without registering it
- From: Chris Dunaway
- Re: Accessing a DLL without registering it
- From: Thomas Malia
- Accessing a DLL without registering it
- Prev by Date: Re: Accessing a DLL without registering it
- Next by Date: Re: Function Needed
- Previous by thread: Re: Accessing a DLL without registering it
- Next by thread: Re: Accessing a DLL without registering it
- Index(es):
Relevant Pages
|
Loading