• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Utils
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bluebrother - 2009-05-19
Last edited by bluebrother - 2009-06-08

FS#10220 - beastpatcher: rework for VS / w32

This is a first try to improve beastpatcher on windows and allow using VS2005:

- VS doesn’t support inttypes.h. This patch includes the BSD licensed header pstdint.h from - VS doesn’t support bool when compiling C files. The DLL API has been modified to not return a bool but int instead. The API has been intentionally changed further to break compatibility (functions renamed to use clearer names).
- update the MTP_DLL API to also scan for devices.
- rename MTP/MTP_DLL/sendfirm_win.c to avoid confusion with MTP/sendfirm_win.c and split out the progresshelper class.
- update MTP_DLL.h so it can get used for inclusion in beastpatcher / sendfirm, removing the need to have duplicated extern declarations for the functions exported by the DLL.
- provide a vcproj file for building beastpatcher.
- update MTP_DLL vcproj file to also copy the resulting dll file to the MTP folder for convenience.

This patch still needs some cleanup but it basically works. Also attached an updated DLL build with VS2005.

Closed by  bluebrother
2009-06-08 18:04
Reason for closing:  Accepted


Available keyboard shortcuts


Task Details

Task Editing