wjcroft / analog-box

Automatically exported from code.google.com/p/analog-box
4 stars 0 forks source link

Win7 Program Associations are not Automatic #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Problem:
When ABox launches it attempts to add settings in the Windows Registry
that associate .ABox and .ABox2 files with the currently launching 
ABox executable. In previous versions of Windows (up through WinXP) 
this worked correctly. In Win7 it does not -- double clicking on a 
.ABox2 file always summons an OS 'choose an app' dialog.

Recommend:
*Explore the 'load_app_settings' and 'registry' functions during 
 app_start. ABox uses an ABox_auto_file key in the registry -- perhaps 
 that method no longer works or is being rejected. The alternative of
 using the complicated and error prone OLE registration strikes this 
 author as undesirable. There may be other ways to set the file 
 associations as well.
*It might also be the case that Win7 requires security descriptors 
 that ABox is not providing. If such is the case, it should be simple 
 to add in the source code.

Original issue reported on code.google.com by andyt7...@gmail.com on 8 Jul 2011 at 8:39