Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with System Tray Icons Pin
jamestheprogrammer10-Jul-07 12:20
jamestheprogrammer10-Jul-07 12:20 
GeneralRe: Problem with System Tray Icons Pin
Mark Salsbery10-Jul-07 12:39
Mark Salsbery10-Jul-07 12:39 
AnswerRe: Problem with System Tray Icons Pin
jamestheprogrammer10-Jul-07 13:07
jamestheprogrammer10-Jul-07 13:07 
AnswerRe: Resource leaks Pin
David Crow10-Jul-07 8:06
David Crow10-Jul-07 8:06 
GeneralRe: Resource leaks Pin
tom groezer10-Jul-07 8:17
tom groezer10-Jul-07 8:17 
GeneralRe: Resource leaks Pin
Hamid_RT10-Jul-07 8:51
Hamid_RT10-Jul-07 8:51 
QuestionDeviceIoControl fails Pin
VC_RYK10-Jul-07 6:46
VC_RYK10-Jul-07 6:46 
AnswerRe: DeviceIoControl fails Pin
James R. Twine10-Jul-07 7:01
James R. Twine10-Jul-07 7:01 
   First, CreateFile(...) is supposed to return INVALID_HANDLE_VALUE when things go wrong, not NULL, so you need to correct that to ensure that the device is really being opened.

   Second, you should be checking the error code returned from GetLastError() whenever a function fails, so you can try to determine exactly what went wrong.

   Correct those two mistakes and then see what is really going on.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

QuestionAdding Pictures in Excel via Automation in VC++ Pin
priyankalakhe10-Jul-07 6:08
priyankalakhe10-Jul-07 6:08 
QuestionUnable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 5:46
Mushtaque Nizamani10-Jul-07 5:46 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
DevMentor.org10-Jul-07 6:06
DevMentor.org10-Jul-07 6:06 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 6:20
Mushtaque Nizamani10-Jul-07 6:20 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
David Crow10-Jul-07 7:03
David Crow10-Jul-07 7:03 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 20:29
Mushtaque Nizamani10-Jul-07 20:29 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mark Salsbery10-Jul-07 6:13
Mark Salsbery10-Jul-07 6:13 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
James R. Twine10-Jul-07 6:32
James R. Twine10-Jul-07 6:32 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
DevMentor.org11-Jul-07 12:33
DevMentor.org11-Jul-07 12:33 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Bram van Kampen11-Jul-07 15:28
Bram van Kampen11-Jul-07 15:28 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani11-Jul-07 19:35
Mushtaque Nizamani11-Jul-07 19:35 
QuestionWhat's the meaning of ^ in VS2005.NET Pin
Ming Luo10-Jul-07 5:30
Ming Luo10-Jul-07 5:30 
AnswerRe: What's the meaning of ^ in VS2005.NET Pin
Maximilien10-Jul-07 5:42
Maximilien10-Jul-07 5:42 
AnswerRe: What's the meaning of ^ in VS2005.NET Pin
Hamid_RT10-Jul-07 8:35
Hamid_RT10-Jul-07 8:35 
GeneralRe: What's the meaning of ^ in VS2005.NET Pin
Ming Luo10-Jul-07 9:07
Ming Luo10-Jul-07 9:07 
GeneralRe: What's the meaning of ^ in VS2005.NET Pin
Hamid_RT10-Jul-07 9:16
Hamid_RT10-Jul-07 9:16 
Questionintercepting WM_CHAR message Pin
Adno10-Jul-07 4:32
Adno10-Jul-07 4:32 

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.