你到底是在用什么东西哦?
提取图标不是有专门API吗?
Public Declare Function ExtractIconEx Lib "shell32.dll" Alias "ExtractIconExA" (ByVal lpszFile As String, ByVal nIconIndex As Long, phiconLarge As Long, phiconSmall As Long, ByVal nIcons As Long) As Long
提取图标不是有专门API吗?
Public Declare Function ExtractIconEx Lib "shell32.dll" Alias "ExtractIconExA" (ByVal lpszFile As String, ByVal nIconIndex As Long, phiconLarge As Long, phiconSmall As Long, ByVal nIcons As Long) As Long
http://www.csdn.net/dev/Visual%20Basic/source%20code/Sample/iconextr.zip
如果你要了解FindResource和LockResource等一系列Resource API操作的方法,那么请去MSDN看一下SDK里关于资源的详细参考:
mk:@MSITStore:F:\Microsoft%20Visual%20Studio\MSDN98\98VS\2052\winui.chm::/devdoc/live/pdui/resource_7spx.htm