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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 GDI+

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ronald 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
4   L A T E S T    R E P L I E S    (Newest First)
Ronald 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
fab Posted - Aug 02 2011 : 13:54:06
Hi,
ok, next minor release will have IEUSEGDIPLUS directive in ie.inc.
Ronald 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 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.