--- AE/Installer/trunk/source/aeinstallerapp.cpp 2009/06/18 22:30:46 356 +++ AE/Installer/trunk/source/aeinstallerapp.cpp 2009/06/19 22:25:08 358 @@ -8,6 +8,8 @@ // Copyright: // Licence: ///////////////////////////////////////////////////////////////////////////// +#include "boost/thread.hpp" +#include #include "boost/filesystem.hpp" // includes all needed Boost.Filesystem declarations #include "boost/lexical_cast.hpp" //int -> string @@ -116,7 +118,24 @@ bool AEInstallerApp::OnInit() TheWindow->Close(); } else { - //globalize... + TheWindow->InstallButton->Disable(); + TheWindow->ReglobalizeButton->Disable(); + +#ifdef WIN32 + + boost::thread thrd3(globalizeData); + //globalizeData(); + //boost::thread::create_thread(&globalizeData); + // boost::thread_group Tg; + // Tg.create_thread( &globalizeData(), this ); +#else + globalizeData(); + setProgressBar(1000); + setStatusArea("Done!"); +#endif + + TheWindow->InstallButton->Enable(); + TheWindow->ReglobalizeButton->Enable(); } }