Stoccarda
Stoccarda
> #if defined(MINGW32) || defined(CYGWIN) || defined(clang) At first a correction: when copying the text, the underscores got lost due to wrong formatting. More correct: #if defined(\_\_MINGW32\_\_) || defined(\_\_CYGWIN\_\_) ||...
@JoergAtGithub `#ifndef _MSC_VER` instead of `#if defined(__MINGW32__) || defined(__CYGWIN__)` works well and is surely a better solution than adding further defines. In hidapi_hidsdi.h: `typedef struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA; ` Can...
@Youw I found the different definition there: [https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Sprintf%2C_swprintf](url) I once installed CodeLite and found both declaration:  There was also a similar discussion a few years ago: [https://stackoverflow.com/questions/35072373/swprintf-declaration-mismatch](url)
@Youw I can corfirm that the error/warning related to the 2 include files is solved with the new ones The confusion with swprintf and the 32-bit linker error _[ilink32 Fehler]...
The swprintf issue seems to be a compiler bug. It works for me with the temporary workaround #include #include #include #if !defined(__cplusplus) && defined(__BORLANDC__) #undef swprintf #define swprintf snwprintf #endif...