Why not work this code?
And is it possible to draw the icon file in the project, with its handle using ExtractIcon?Code:hWND = Application.GetWndHandle(); Result = DLL.CallFunction("shell32.dll", "ExtractIcon", hWND..",\"".._SystemFolder.."\\shell32.dll\",-1", DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
__________________________
Sorry for my English .. translated with Google

Reply With Quote