Sorry to keep posting replies to myself, but apparently there is a time limit on edits in this forum.
#define SHELL_ENTRY(returnType, functionName, parameters) \
typedef returnType __stdcall (*functionName##_type) parameters; \
const functionName##_type functionName \
= (functionName##_type) QLibrary::resolve("shell32", #functionName)
#define SHELL_ENTRY(returnType, functionName, parameters) \
typedef returnType __stdcall (*functionName##_type) parameters; \
const functionName##_type functionName \
= (functionName##_type) QLibrary::resolve("shell32", #functionName)
To copy to clipboard, switch view to plain text mode
avoids the Qt Creator and g++ problems described in the last two paragraphs of my previous post.
Bookmarks