How do you link the Shell32.lib?
I have a code that requires a link to s Shell32.lib, how do you do it?
1 2 3 4 5 6 7 8 9 10 11 12
|
#include <windows.h>
#include <Shellapi.h>
// requires linking towards Shell32.lib
// ...
if (ShellExecute(NULL, "open", "http://www.stackoverflow.com", NULL, NULL, SW_SHOWMAXIMIZED) <= 32)
{
/* an error occurred */
}
|
Last edited on
Topic archived. No new replies allowed.