Check if gflLibraryInit was called?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

Post Reply
ramington
Posts: 3
Joined: Wed Jun 25, 2008 3:59 pm

Check if gflLibraryInit was called?

Post by ramington » Wed Jun 25, 2008 5:13 pm

Hi,

-I have an app whcih loads dynamic a lot of modules each time a image should be processed (that happens often)

-now I'd like to call gflLibraryInit only once for all files that should be procesed, but I can not store any additional information to check by my own

-does it take long to call gflLibraryInit and gflLibraryExit ???

-I tested under windows with an memchecker, if calling Init 2 times and Exit only one time there gets some memory lost, therefor it would be good to check if the init was called

-any ideas?

Thx, Peter

User avatar
xnview
Author of XnView
Posts: 29888
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Check if gflLibraryInit was called?

Post by xnview » Thu Jun 26, 2008 6:40 am

gflLibraryInit can take some time (if you have plugins), and you must call ONE gflLibraryInit and ONE gflLibraryExit
Pierre.

Post Reply