Re: File association
Posted: Tue Mar 20, 2018 8:21 am
Robert, you can see part of the answer from the InnoSetup configuration file posted before.
It defines 3 file types, odc, osf, and ocf.
Each file type is associated with a DefaultIcon, which is defined in a subkey as a reference to an icon resource bundled with an exe file.
The exe file is always "{app}\BlackBox.exe", the icon resource number is 1, 2, or 3.
The other part of the answer is in the command that has been used for linking the exe file,
which is defined in Dev/Docu/Build-Tool.odc as:
DevLinker.Link BlackBox2.exe := Kernel$+ Files HostFiles StdLoader
1 BlackBox.res 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico 4 CFLogo.ico 5 DtyLogo.ico 6 folderimg.ico 7 openimg.ico
8 leafimg.ico 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur 5 Stop.cur 6 Hand.cur 7 Table.cur
The bundled icon resources are: 1 Applogo.ico, 2 Doclogo.ico, 3 SFLogo.ico, etc.
The icon resource files are found in Win/Rsrc/ where you can see that they are different indeed.
In order to clean up your registry, it may be a good idea to reinstall BlackBox from an installer exe.
- Josef
It defines 3 file types, odc, osf, and ocf.
Each file type is associated with a DefaultIcon, which is defined in a subkey as a reference to an icon resource bundled with an exe file.
The exe file is always "{app}\BlackBox.exe", the icon resource number is 1, 2, or 3.
The other part of the answer is in the command that has been used for linking the exe file,
which is defined in Dev/Docu/Build-Tool.odc as:
DevLinker.Link BlackBox2.exe := Kernel$+ Files HostFiles StdLoader
1 BlackBox.res 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico 4 CFLogo.ico 5 DtyLogo.ico 6 folderimg.ico 7 openimg.ico
8 leafimg.ico 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur 5 Stop.cur 6 Hand.cur 7 Table.cur
The bundled icon resources are: 1 Applogo.ico, 2 Doclogo.ico, 3 SFLogo.ico, etc.
The icon resource files are found in Win/Rsrc/ where you can see that they are different indeed.
In order to clean up your registry, it may be a good idea to reinstall BlackBox from an installer exe.
- Josef