Executables icons

Martin Fuchs martin-fuchs at gmx.net
Sun Jun 15 03:24:30 CDT 2003


Hi,

>  I wonder why icons located in an executable are not viewable in
> GetOpenFileName ? I had a look to the source code (dlls/shell32/folder.c
> and dlls/shell32/classes.c) and saw that  a search is made in the registry.
> But this search failed because my system.reg doesn't have the queried entry
> ( [Software\\Classes\\.exe]). I noticed that the winedefault.reg doesn't
> have the queried entry also. When this search fails, a default icon is
> applied.

I tried and imported the following entries in the registry:

[Software\\Classes\\.exe] 1055664996
@="exefile"

[Software\\Classes\\exefile\\DefaultIcon] 1055665049
@="%1"

It does work!
it displays the exe-icons, when switching into detail mode of the 
GetOpenFile-dialog box.


--
Martin Fuchs
martin-fuchs at gmx.net




More information about the wine-devel mailing list