lancos / ponyprog

Serial device programmer
GNU General Public License v2.0
73 stars 13 forks source link

Ponyprog 3.0, CancelIOEx could not be located in the dynamic link library KERNEL32.dll #6

Closed xiaolaba closed 6 years ago

xiaolaba commented 6 years ago

hi, can you please help to look at this. for xp is not working.

perhaps this is the issue https://bugreports.qt.io/browse/QTBUG-58407

lancos commented 6 years ago

Hi, PonyProg3 (Qt5.8) doesn't support WindowsXP. If you need WindowsXP you can build the old PonyProg2 legacy_v2 branch (https://github.com/lancos/ponyprog/tree/legacy_v2) without Qt.

xiaolaba commented 6 years ago

thanks you Sir.got it best regards,xiao

eduard-x commented 6 years ago

Hi xiaolaba, You can build the project for Windows XP with Qt4.8. This is possible, but you must switch the CMakeLists for Qt4: OPTION (USE_QT5 "Using of Qt5 version for compiling" OFF) Regards, Eduard

xiaolaba commented 6 years ago

hello Eduard We had a shot with qt-5.7, used migwin-32 for compiling, it is ok with win10 & test, but not yet carry over to XP machine, however, one more question is about the dll dynamic loading but not single exe file. it is something that no easy for user unless copy those DLLs to target machine, looks like qt is no default switch for user to do such extends. we will try qt4.8 as you have suggested.

best regards, xiao