[C++] Extract and save .ico from File

Started by
-1 comments, last by hury 15 years, 10 months ago
Hi there, i want to extract the .icon File from an .exe and save it to a new File. The extraction seems to work: HICON hIconSmall; ICONINFO IconInfo; ExtractIconEx((LPCTSTR)"c:\polsuche.exe", 0, NULL, &hIconSmall, 1); GetIconInfo(hIconSmall, &IconInfo); But how do i create a new File on my HDD now? Alex

This topic is closed to new replies.

Advertisement