justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
I'd like to associate a file extension with an icon and a program in Explorer, where can I found a code example of this? (Using just Win32 and C/C++.)
Asked by Rodrigo (187.58.227.x) on May 1 2013, 4:14pm
Reply on May 1 2013, 5:37pm:
The classic way
*
of doing this is to set the appropriate registry keys (HKCR.extension(default string) to your appnamestring, then HKCRappnamestring(default string) gets description, subkeys for DefaultIcon, Shell, etc. Look at the way old versions of Winamp write it, and you get the idea. I never do this in C anymore, as NSIS makes it a lot less work...
* There's probably a more "correct" way to do this in this day and age, but I don't know what it is...
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2025 Justin Frankel
.
|
RSS