Click here to Skip to main content
15,443,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDetecting when video is done with media player (in MFC) Pin
Joe Woodbury21-Dec-09 11:57
professionalJoe Woodbury21-Dec-09 11:57 
AnswerRe: Detecting when video is done with media player (in MFC) Pin
Joe Woodbury21-Dec-09 12:42
professionalJoe Woodbury21-Dec-09 12:42 
Questionre: missing mutex events Pin
Alan Kurlansky21-Dec-09 10:59
MemberAlan Kurlansky21-Dec-09 10:59 
AnswerRe: re: missing mutex events Pin
KingsGambit21-Dec-09 19:18
MemberKingsGambit21-Dec-09 19:18 
GeneralRe: re: missing mutex events Pin
Alan Kurlansky22-Dec-09 2:55
MemberAlan Kurlansky22-Dec-09 2:55 
AnswerRe: re: missing mutex events Pin
Rajesh R Subramanian21-Dec-09 20:45
professionalRajesh R Subramanian21-Dec-09 20:45 
GeneralRe: re: missing mutex events Pin
Alan Kurlansky22-Dec-09 2:59
MemberAlan Kurlansky22-Dec-09 2:59 
QuestionDebugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 5:33
Memberloyal ginger21-Dec-09 5:33 
My question has something to do with C/C++ and Visual Studio. I have an MFC project in VS2005 with lots of .h and .cpp files. The program has problems so I run it in debug mode to try to find out what the problems are. For one situation it showed the following message:

Unhandled exception at 0x00761001 in XPT.exe: 0xC0000005: Access violation reading location 0x00000044.

As I clicked the Break button, VS2005 breaks at a line in a source file in my project. The problem is it is on a line irrelavent to the error. It is on a comment line outside any function. The function following that comment block does not seem to have anything to do with that error.

This happened many times in different situations, breaking on comment lines that give me no clue.

This only happened when breaking happened on a third party source file. In my project, this is the sqlite3.c file from SQLite.

I have done a lot such as deleting all the files that are not critical to the project and relaunching the project. (Files such as .ncb, .suo, user-specific options file, etc)

Any idea how to cure that? Any settings, etc. I am running out of ideas. Thanks!
AnswerRe: Debugging a C++ program in Visual Studio 2005 Pin
Abhi Lahare21-Dec-09 5:44
MemberAbhi Lahare21-Dec-09 5:44 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 6:03
Memberloyal ginger21-Dec-09 6:03 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
Abhi Lahare21-Dec-09 6:19
MemberAbhi Lahare21-Dec-09 6:19 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 6:27
Memberloyal ginger21-Dec-09 6:27 
Questioncan you simplify the function by #define? [modified] Pin
includeh1021-Dec-09 0:16
Memberincludeh1021-Dec-09 0:16 
AnswerRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 0:36
mveRichard MacCutchan21-Dec-09 0:36 
GeneralRe: can you simplify the function by #define? Pin
includeh1021-Dec-09 1:30
Memberincludeh1021-Dec-09 1:30 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 1:50
mveRichard MacCutchan21-Dec-09 1:50 
GeneralRe: can you simplify the function by #define? Pin
includeh1021-Dec-09 3:21
Memberincludeh1021-Dec-09 3:21 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 5:54
mveRichard MacCutchan21-Dec-09 5:54 
QuestionRe: can you simplify the function by #define? Pin
CPallini21-Dec-09 1:55
mveCPallini21-Dec-09 1:55 
AnswerRe: can you simplify the function by #define? Pin
Maximilien21-Dec-09 2:38
MemberMaximilien21-Dec-09 2:38 
GeneralRe: can you simplify the function by #define? Pin
Nelek21-Dec-09 3:09
protectorNelek21-Dec-09 3:09 
GeneralRe: can you simplify the function by #define? Pin
Abhi Lahare21-Dec-09 5:41
MemberAbhi Lahare21-Dec-09 5:41 
GeneralRe: can you simplify the function by #define? Pin
Nelek21-Dec-09 7:04
protectorNelek21-Dec-09 7:04 
Questionfread() for file system Pin
hrishiS20-Dec-09 23:26
MemberhrishiS20-Dec-09 23:26 
AnswerRe: fread() for file system Pin
CPallini21-Dec-09 0:25
mveCPallini21-Dec-09 0:25 

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.