 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sabetay Toros Guest
|
Posted: Mon Feb 12, 2007 9:10 am Post subject: GDI+ Singleton object |
|
|
Hi,
It seems to me GDI+ initilization must be implemented only once for a
program as a singleton object. Can anybody confirm this.
Thanks
Sabetay |
|
| Back to top |
|
 |
Michel Leunen Guest
|
Posted: Tue Feb 13, 2007 2:20 am Post subject: Re: GDI+ Singleton object |
|
|
Sabetay Toros wrote:
| Quote: | It seems to me GDI+ initilization must be implemented only once for a
program as a singleton object.
|
No, GdiplusStartup() and GdiplusShutdown() may be called several times
in a same program. The only condition is that all GDI+ resources *must*
be freed before calling GdiplusShutdown() and before re-calling
GdiplusStartup().
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
---------------------------------------- |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|