Associate a File Extension

  • Thread starter Thread starter cox
  • Start date Start date
C

cox

I want to create an engine and have a file with a given extension be opened
by my engine. How can I associate a file extension with my program. (Ex.
*.zip are opened by WinZip on windows).

Thanks
 
You should edit the registry. For example look how gif images handled by
default in explorer:
HKEY_CLASSES_ROOT\.gif
HKEY_CLASSES_ROOT\gifimage
and create something like this for your extension.
 
Back
Top