| Null (779) | |
|
Hello, How can I associate a file type with my program? I think I can do this by editing registry but maybe there's an API function for this? Thanks for help. | |
|
|
|
| chris (82) | |
|
Take a look at this link: http://technet.microsoft.com/en-us/magazine/ff687021.aspx There are the 2 windows in built command lines for handling this kind of thing, it would be fairly easy to use from a "system" call ( http://www.cplusplus.com/reference/clibrary/cstdlib/system/ ) Hope that helps. | |
|
|
|
| Null (779) | |
|
@chris: have you read this? http://cplusplus.com/forum/articles/11153/ | |
|
|
|
| Null (779) | |||
I figured this out myself, here's the code if anyone needs it:
| |||
|
Last edited on
|
|||