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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top