Problem running WPTools in a DLL

  • I have a problem where if I create an editor in a DLL, I get an access violation when adding a jpeg image (drag and drop or loading). The error happens in HasGPPImage call to FGPImage := TGPImage.Create(adapter);

    I've tried it with Delphi XE 8 and Delphi 10.1

    If I create the same editor inside an EXE, it works just fine.