Al Boldi wrote:
I do not know how to do it,

It turns out that you need an export trick to do this.

Include the attached 'LibSyncMgr.inc' into your lib after your exports-line with this line:

        {$i LibSyncMgr.inc}

Make sure there is no LCL or Interfaces unit included in your library project.

Then include the attached 'LibSyncMgr.pas' in your main-apps uses clause.

Then add this line:

        TLibSyncMgr.Create(self).LibHandle := LibHandle;

right after your LoadLibrary call.

I have updated code with your suggestions, but synchronize still does not work.

---
Melchiorre

Attachment: example.7z
Description: Binary data

Reply via email to