Author |
Topic |
|
Ronald
Netherlands
17 Posts |
Posted - Aug 02 2011 : 08:12:04
|
Hi,
Since ImageEn v4, my COM dll using ImageEn keepse the regsvr32 program from returning. Seems to have to do something with gdiplus. What would be the best way to switch gdiplus off for a specific project? Is gdiplus something I should want for display applications?
Regards, Ronald |
|
fab
1310 Posts |
Posted - Aug 02 2011 : 08:40:47
|
Hi, it is possible to disable gdiplus setting:
iegUseGDIPlus := false;
This variable is defined in iegdiplus unit.
However ImageEn should automatically disable it when "gdiplus.dll" is not found. Also ImageEn doesn't reference any gdiplus function call using Delphi "external", so it isn't listed in the executable dependences. |
|
|
Ronald
Netherlands
17 Posts |
Posted - Aug 02 2011 : 10:14:33
|
Hi,
Thanks, I will use that, but may I suggest a compiler directive IEINCLUDEGDIPLUS in ie.inc? GDI+ documentation states that it should not be used in Windows Services (and from my experience, not in COM doll's). Current implemtation load gdiplus.dll always if available on the OS.
Regards, Ronald
|
|
|
fab
1310 Posts |
Posted - Aug 02 2011 : 13:54:06
|
Hi, ok, next minor release will have IEUSEGDIPLUS directive in ie.inc. |
|
|
Ronald
Netherlands
17 Posts |
Posted - Aug 02 2011 : 14:04:32
|
Hi,
After doing some research, I think that gdiplus implementation in v 3.1.2 was better, as LoadLibrary there is done on component create, leaving the possibility to set ieUseGDIPlus to false in project source. Also, this behaviour is OK in COM dll's.
Regards, Ronald |
|
|
|
Topic |
|