OutprocLoader C# Problem Answered

Dear Sir/Madam,

In our application we were using DLL Import code to create FREngine object. Now we are using "OutprocLoader" and "GetEngineObject" method to create FREngine object. After this code change we get error in our clients application, but it works fine on developer computers.

After the error we received (in below image file), alt text

we send the abby sdk dll files to client computer and now we receive error that is shown in this image file.

alt text

We think that some dll files are absent on client computer. What we need to transfer to the client computer to solve this problem?

Thanx in advance.

Code is below: DLL Import:

 [DllImport(@"FREngine.dll", CharSet = CharSet.Unicode), PreserveSig]
        private extern static uint GetEngineObject(
            String devSN,
            String reserved1,
            String reserved2,
            ref FREngine.IEngine engine);

        [DllImport(@"FREngine.dll", CharSet = CharSet.Unicode), PreserveSig]
        private extern static int DeinitializeEngine();

         uint hresult = GetEngineObject(_engineDeveloperKey, null, null, ref _frEngine);

C# Code

  private static volatile IEngineLoader engineLoader = new FREngine.OutprocLoader();

  _frEngine = engineLoader.GetEngineObject(_engineDeveloperKey, null, null);



Please sign in to leave a comment.