Access Control Library DLL in different directory

T

TBass

In a remoting application I wrote, I have a server program that uses a
couple dll's I wrote to provide a tcp remoting connection. I then
wrote a test program that uses those same two dlls. When everything
was running in the debugger in Visual Studio, everything ran fine.

Then I installed the files on a test machine. Each directory got their
own copy of the dlls. That bombed for the callback functions.

So I copied the dll files to the c:\windows\system32 directory and
deleted the copies of the dlls in the application directory. My
understanding was that if Windows didn't find the dll in the
application directory, it would go check in the system directory.
However, neither application would run as they could not find the
depended dlls.

I tried running regsvr32 on each of the dlls I had copied to the
system directory. They would not register.

I'm out of tricks from my pre-.NET days. Can someone point me in the
right direction?

Thanks in advance,
Tom
 
T

TBass

I shall reply to my own question:

The assembly needs to be installed into the GAC. I'm working out the
best way to do that in a distributable . I will post the solution here
in the near future.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top