Quote Originally Posted by jacek View Post
What about those copies? Do you create only one object of CWAB class?
Yes I create only one object and its deleted once the window is closed.

Quote Originally Posted by jacek View Post
maybe you should load it before you create QApplication and free it after QApplication::exec() returns?
But I don't need it through out the application. Only when user needs to access the Windows Address Book, I need to load the library. And once user is done, I free it.

Quote Originally Posted by jacek View Post
Or maybe you should try to load it using QLibrary?
ok, will try that. But what will happen if I do not call FreeLibrary(m_hinstWAB); ?