I am working on a project that relies on contacting Dll's.

I would like to know how I can contact a Dll, say one that holds information from a hardware and I need to use it somewhere else. How can i do that using Qt.

if the above method is not possible, I want to know how a Gcc compiler in windows can contact a DLL.

I havent written much code, i have been using the designer. Now i want to convert .ui files so that i can have a .cpp file. Can that be done??