Help Icon Extacting

_**Hi. Please --HELP-- ICON Problems**_

ExtractIconEx("C:\Program Files\InstallShield Installation Information\{864E0B8A-C497-44D3-9EA6-ACF519122B9F}\[url removed, login to view]", 0, &hIconSmall, &hIconBig);

if(hIconSmall!=NULL) ...

if(hIconBig!=NULL) ...

You need to provide to ExtractIconEx:

1: Filename

2: IconIndex ( Should be 0 )

3 and 4 : PHICON pointer to HICON;

However, it seems that files within the Uninstall Information Folder are system specific you could put the DLL icon.

And they do not have icons, they either have the default file icon or the .CAT icon.

Here what I suggest in the case you cannot extract the icon.

if(hIcon==NULL) { //This is in delphi but you can understand the point FileName:= 'C:\WINDOWS\SYSTEM\[url removed, login to view]';

// Determine the default icon for the file extension

if (FileExt = '.DOC') then IconIndex := 1

else if (FileExt = '.EXE')

or (FileExt = '.COM') then IconIndex := 2

else if (FileExt = '.HLP') then IconIndex := 23

else if (FileExt = '.INI')

or (FileExt = '.INF') then IconIndex := 63

else if (FileExt = '.TXT') then IconIndex := 64

else if (FileExt = '.BAT') then IconIndex := 65

else if (FileExt = '.DLL')

or (FileExt = '.SYS')

or (FileExt = '.VBX')

or (FileExt = '.OCX')

or (FileExt = '.VXD') then IconIndex := 66

else if (FileExt = '.FON') then IconIndex := 67

else if (FileExt = '.TTF') then IconIndex := 68

else if (FileExt = '.FOT') then IconIndex := 69}

You select the associated Icon for the default extension.

Thank you for your help

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

all os

all browsers

Habilidades: Programação C, PHP

Veja mais: software icon, setup icons, programming in delphi, programming icons, programming icon, pointer programming, icons folder, icon folder, icon files, icon code, folder icons, else if c programming, dll in system programming, c programming pointer, bat programming, code sys, cat work.com, programming help, Fot, work folder delphi

Acerca do Empregador:
( 4 comentários ) United Kingdom

ID do Projeto: #3000674

3 freelancers estão ofertando em média $11 para esse trabalho


See private message.

$6.8 USD in 10 dias
(54 Comentários)

See private message.

$17 USD in 10 dias
(12 Comentários)

See private message.

$8.5 USD in 10 dias
(0 Comentários)