#1 2014-11-12 15:32:06

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Conflict: TJpegImage in SynGdiPlus and Vcl.Imaging.jpeg;

Hi,

I can not use the unit mORIMotOLogin in my system because of the conflict with TJPEGImage that is SynGdiPlus and Vcl.Imaging.jpeg.


Does anyone have a solution?

Offline

#2 2014-11-12 16:36:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,242
Website

Re: Conflict: TJpegImage in SynGdiPlus and Vcl.Imaging.jpeg;

At the end of the mORMotUILogin.pas unit, comment the corresponding line:

..
initialization
  //Gdip.RegisterPictures; // will initialize the Gdip library if necessary
  Application.OnException := TLoginForm.HandleApplicationException;
...

BTW, the TJpegImage implemented in our SynGDIPLus library is much faster than Vcl.Imaging.jpeg.
smile

Offline

Board footer

Powered by FluxBB