Warum kommt bei mir bei der Funktion FlashWindowEx der folgende Fehler?
error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall FlashWindowEx(struct FLASHWINFO *)" (__imp_?FlashWindowEx@@YGHPAUFLASHWINFO@@@Z)
Debug/Testcontrol.exe : fatal error LNK1120: 1 unresolved externals
mfg Executer



error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall FlashWindowEx(struct FLASHWINFO *)" (__imp_?FlashWindowEx@@YGHPAUFLASHWINFO@@@Z)
Debug/Testcontrol.exe : fatal error LNK1120: 1 unresolved externals
Code:
// declare the FLASHWINFO structure
FLASHWINFO strFlashWinfo;
// clear the structure
ZeroMemory(&strFlashWinfo, sizeof(FLASHWINFO));
// set the number of times to flash to 10
strFlashWinfo.uCount = 10;
// only flash the windows caption
strFlashWinfo.dwFlags = FLASHW_CAPTION;
// specify the window to flash
strFlashWinfo.hwnd = hAlertWindow;
// set the flash rate to the same rate as the system cursor
strFlashWinfo.dwTimeout = 0;
// set the size of the structure
strFlashWinfo.cbSize = sizeof(strFlashWinfo);
// flash the window
FlashWindowEx(&strFlashWinfo);
mfg Executer