GTK-->WIndows FAQ


I m presently developing a GUI which uses gtk+. I m developing my modules in
MSVC (Windows) environment. I have created a workspace and a project. I am
developing a dll module in it. As part of the dll source code I have a static
member declared in one of the source files whose constructor does nothing but
calls 'gtk_init'. As it is a static member the constructor gets called as soon
as i load the dll.But then the process goes in a wait mode and funnily a thread
is also created. I dont know why this should happen. Has the settings for the
project got to have some extra flags, etc. As far as i know 'gtk_init' doesn't
have any calls which should create a thread. It only has some initializations
to do.

Also if I use 'gtk_init' in any other console application program it works well

*** I sent a mail to mpeters superonline com( as in GTK for Windows page ) but
it bounced back


c v joshi

###  Imagination is more important than Knowledge.  ###
                                - Albert Einstien
        Chandrashekhar V Joshi              

        ESG, TTIL, Telco Campus,
        PUNE - 411 018 
        email:   cvjoshi telco co in
        phone:  +91-20-77  42 61  Extn.2049  (off)
                      -740 20 49  (off)
                +91-20-765 26 91  (res)      

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