Access Control Library DLL in different directory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TBass

    Access Control Library DLL in different directory

    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\syst em32 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
  • TBass

    #2
    Re: Access Control Library DLL in different directory

    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.

    Comment

    Working...