Click here to Skip to main content
15,888,146 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: doubt in CFile Pin
David Crow9-Dec-09 7:10
David Crow9-Dec-09 7:10 
GeneralRe: doubt in CFile Pin
Mattias G9-Dec-09 10:39
Mattias G9-Dec-09 10:39 
GeneralRe: doubt in CFile Pin
Paulraj G9-Dec-09 17:15
Paulraj G9-Dec-09 17:15 
QuestionopenGL can read an bmf picture or another picture ???? Pin
a04.lqd9-Dec-09 4:17
a04.lqd9-Dec-09 4:17 
AnswerRe: openGL can read an bmf picture or another picture ???? Pin
Cedric Moonen9-Dec-09 4:23
Cedric Moonen9-Dec-09 4:23 
GeneralRe: openGL can read an bmf picture or another picture ???? Pin
a04.lqd9-Dec-09 9:44
a04.lqd9-Dec-09 9:44 
GeneralRe: openGL can read an bmf picture or another picture ???? Pin
Cedric Moonen9-Dec-09 20:15
Cedric Moonen9-Dec-09 20:15 
QuestionFile Associations under Vista and up... Pin
Code-o-mat9-Dec-09 3:54
Code-o-mat9-Dec-09 3:54 
Hello folks!

Could someone please shed some light on this? I found out the hard way that the file-association technics used in Windows XP and prior to it no longer work in Windows Vista and above. Trying to modify the registry entries to create a file association for a program simply fails in an "access denied" error. So i googled around and found IApplicationAssociationRegistration[^], tried to use it but SetAppAsDefault[^] gave me "file not found". I might be wrong but i figured this means that the application needs to be registered as a "Default Program" before any associations can be done. How to do this? I found this[^] on Microsoft's site, here it tells me that to register an application as default one has to create some registry entries for the application. BUT if i try to create these entries i once again get an "Access Denied". At this point i am a bit lost. I know the documentation there says that usually the installer registers the application as a default program and that installers are usually ran as administrator, however, my program is a very small and simple viewer application which does not have nor need an installer so i want to do the whole association thing from the application itself. Anyone knows how?

Thanks in advance.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

AnswerRe: File Associations under Vista and up... Pin
David Crow9-Dec-09 4:18
David Crow9-Dec-09 4:18 
GeneralRe: File Associations under Vista and up... Pin
Code-o-mat10-Dec-09 4:36
Code-o-mat10-Dec-09 4:36 
Question0xC0000005: Access Violation Pin
kir_MFC9-Dec-09 2:26
kir_MFC9-Dec-09 2:26 
AnswerRe: 0xC0000005: Access Violation Pin
CPallini9-Dec-09 2:38
mveCPallini9-Dec-09 2:38 
AnswerRe: 0xC0000005: Access Violation Pin
Cedric Moonen9-Dec-09 3:05
Cedric Moonen9-Dec-09 3:05 
Questionerror with c program Pin
kir_MFC9-Dec-09 1:15
kir_MFC9-Dec-09 1:15 
AnswerRe: error with c program Pin
Cedric Moonen9-Dec-09 1:32
Cedric Moonen9-Dec-09 1:32 
AnswerRe: error with c program Pin
Rajesh R Subramanian9-Dec-09 1:39
professionalRajesh R Subramanian9-Dec-09 1:39 
QuestionRe: error with c program Pin
David Crow9-Dec-09 2:11
David Crow9-Dec-09 2:11 
QuestionSMS Sending programme Pin
trioum9-Dec-09 1:03
trioum9-Dec-09 1:03 
AnswerRe: SMS Sending programme Pin
Garth J Lancaster10-Dec-09 1:03
professionalGarth J Lancaster10-Dec-09 1:03 
QuestionIs STL string can be used in multithreading application ? Pin
Member 67757439-Dec-09 1:01
Member 67757439-Dec-09 1:01 
AnswerRe: Is STL string can be used in multithreading application ? Pin
mav@octaval9-Dec-09 1:05
mav@octaval9-Dec-09 1:05 
GeneralRe: Is STL string can be used in multithreading application ? Pin
Member 67757439-Dec-09 1:37
Member 67757439-Dec-09 1:37 
AnswerRe: Is STL string can be used in multithreading application ? Pin
Nemanja Trifunovic9-Dec-09 5:26
Nemanja Trifunovic9-Dec-09 5:26 
QuestionHow could I add print facility to Analogmeter Control Pin
ganesh.dp9-Dec-09 0:56
ganesh.dp9-Dec-09 0:56 
GeneralRe: How could I add print facility to Analogmeter Control Pin
CPallini9-Dec-09 1:54
mveCPallini9-Dec-09 1:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.