Hello.
There is a Qt5 project and an ATOL dll library for sharing with data collection terminals, as I understand COM. In the official documentation there is an example under VC ++ 6 in which it is connected with the directive #import .
#import Pdx1c.dll no_namespace //Дальше работаем с com CoInitialize(NULL); IPDX51Ptr pPdx; HRESULT res = fPdx.CreateInstance("AddIn.PDX45"); //Ну и так далее.... If the project is going to MSVC - no problem. If MINGW is going to - half a million errors, it is understandable. Question: Is it possible to make friends with this code with MINGW ? Or maybe it is possible to use something Qt-specific?