Re: Using GTK+ in windows DLL



- Initialize GTK+: what should I use for the arguments of the gtk_init_check; I do not have a main in the 
DLL

Just pass and empty argument vector then?

- Cleanup GTK+: how to free resources; I cannot exit the application

That is not really possible, sorry. There will always be some
resources (I mainly mean memory) allocations left even if your process
will never use GTK+ again.

Also, I am not sure whether using GTK+ will interfere with the host
application's (VST's, whatever that is, some music thingie?) other
GUI. You will have to experiment, for instance running most of what
the GTK+-using plugin does in a thread of itself.

--tml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]