ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 GDI+
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ronald

Netherlands
17 Posts

Posted - Aug 02 2011 :  08:12:04  Show Profile  Reply
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  Show Profile  Reply
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.
Go to Top of Page

Ronald

Netherlands
17 Posts

Posted - Aug 02 2011 :  10:14:33  Show Profile  Reply
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
Go to Top of Page

fab

1310 Posts

Posted - Aug 02 2011 :  13:54:06  Show Profile  Reply
Hi,
ok, next minor release will have IEUSEGDIPLUS directive in ie.inc.
Go to Top of Page

Ronald

Netherlands
17 Posts

Posted - Aug 02 2011 :  14:04:32  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: