Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDetecting Explorer.exe in XP 64-bit Pin
joelvolvo21-Sep-05 15:15
joelvolvo21-Sep-05 15:15 
AnswerRe: Detecting Explorer.exe in XP 64-bit Pin
Alexander M.,22-Sep-05 3:22
Alexander M.,22-Sep-05 3:22 
Questionbeggining to create first program Pin
lordgreg21-Sep-05 12:44
lordgreg21-Sep-05 12:44 
AnswerRe: beggining to create first program Pin
Christian Graus21-Sep-05 13:35
protectorChristian Graus21-Sep-05 13:35 
GeneralRe: beggining to create first program Pin
lordgreg21-Sep-05 20:24
lordgreg21-Sep-05 20:24 
QuestionRegister device ? Pin
Christian Graus21-Sep-05 11:02
protectorChristian Graus21-Sep-05 11:02 
AnswerRe: Register device ? Pin
Graham Bradshaw21-Sep-05 11:35
Graham Bradshaw21-Sep-05 11:35 
GeneralRe: Register device ? Pin
Christian Graus21-Sep-05 12:08
protectorChristian Graus21-Sep-05 12:08 
Would you believe I already have those example projects on my hard drive ? I must have done some research before and forgotten about it. Thanks for putting me on the right track.


Christian Graus - Microsoft MVP - C++

-- modified at 18:12 Wednesday 21st September, 2005

Actually, unless I'm missing something, none of this helps. I don't want my app to realise that a device was plugged in, I want the dialog box that windows generates and asks me what app to launch to include my app, so you can plug in the camera, and Windows gives you the option to launch the app.

I found these two registry keys, which seem to contain the info I am after:

HKLM/SOFTWARE/SYSTEM/ControlSet1/Control/StillImage/Events/STIProxyEvent

HKLM/SOFTWARE/SYSTEM/ControlSet3/Control/StillImage/Events/STIProxyEvent

I'm still trying to work out how it all fits though, I suspect I need to use some of the code from that link to get a GUID associated with the device, and use that to write a registry entry. Perhaps.

-- modified at 19:36 Wednesday 21st September, 2005

Thanks for the help, I found that there's a COM DLL I needed to interop and call to register my app for still image events.
Question[Message Deleted] Pin
valerie9921-Sep-05 10:13
valerie9921-Sep-05 10:13 
AnswerRe: the memory leak Pin
Christian Graus21-Sep-05 10:26
protectorChristian Graus21-Sep-05 10:26 
Generaldidn't expect from u anyway! Pin
valerie9922-Sep-05 6:21
valerie9922-Sep-05 6:21 
GeneralRe: didn't expect from u anyway! Pin
Christian Graus22-Sep-05 12:22
protectorChristian Graus22-Sep-05 12:22 
GeneralRe: the memory leak Pin
Jörgen Sigvardsson21-Sep-05 11:14
Jörgen Sigvardsson21-Sep-05 11:14 
Generalabsolutely! Pin
valerie9921-Sep-05 11:53
valerie9921-Sep-05 11:53 
QuestionRe: absolutely! Pin
Maximilien21-Sep-05 13:42
Maximilien21-Sep-05 13:42 
AnswerRe: absolutely! Pin
valerie9922-Sep-05 3:59
valerie9922-Sep-05 3:59 
Questiontrying to read rtfbody of email Pin
pnpfriend21-Sep-05 9:51
pnpfriend21-Sep-05 9:51 
AnswerRe: trying to read rtfbody of email Pin
David Crow21-Sep-05 10:09
David Crow21-Sep-05 10:09 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 4:19
pnpfriend22-Sep-05 4:19 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 5:40
pnpfriend22-Sep-05 5:40 
QuestionWhere to place code to be ran immediately after all mfc contruction is completed. Pin
Dan Neely21-Sep-05 9:38
Dan Neely21-Sep-05 9:38 
AnswerRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
David Crow21-Sep-05 10:08
David Crow21-Sep-05 10:08 
GeneralRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
Dan Neely21-Sep-05 10:28
Dan Neely21-Sep-05 10:28 
GeneralRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
Blake Miller22-Sep-05 4:18
Blake Miller22-Sep-05 4:18 
QuestionNewlines in my Edit Box Pin
bugDanny21-Sep-05 9:29
bugDanny21-Sep-05 9:29 

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.