QT call DLL dynamic library DLL dynamic library header files: # # ifndef _ADAPI32_H_ # define _ADAPI32_H_ # ifdef __cplusplusextern "C" {# endif __declspec (dllexport) int test_int (); __declspec (dllexport) BOOL FLG (); __declspec (dllexport) HANDLE ReceiveImage ();//image # ifdef __cplusplus} # endif# endif -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- why compile time tip: 'HANDLE' does not name a type 'BOOL does not name a type. This is what mistake? What a player know?
CodePudding user response:
The building Lord solved? Meet the same problem, hope to inform