13 Replies Latest reply on May 19, 2011 2:56 PM by cmanhard

    Deploying COM-visible dll

    AlistairFrith

      I have created a DLL in C# .NET 2008, which provides some COM-visible functions that access AF, so that Processbook scripts can access AF information. I have created a display that uses that dll and it works fine on my machine. However, if I run it on somebody else machine, it crashes with "Active-X component can't create object" when it tries to instantiate the object that is contained in the dll. The dll is in the same folder as the display and the reference is pointing to it.

       

      Do I need to register the dll? regserver32 gives the error "VBA_AF_Wrapper was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered". How do I deploy this DLL so it can be accessed by processbook on a customer's machine?

       

      Apologies for what is undoubtedly a 'stupid' question!

       

      Regards,

       

      --- Alistair.