Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to convert POSITION to int? Pin
John Wong15-Sep-02 23:37
John Wong15-Sep-02 23:37 
AnswerRe: How to convert POSITION to int? Pin
Anonymous15-Sep-02 23:56
Anonymous15-Sep-02 23:56 
GeneralRe: How to convert POSITION to int? Pin
John Wong16-Sep-02 0:23
John Wong16-Sep-02 0:23 
QuestionHow to display icon under this situation? Pin
Joecodepro15-Sep-02 23:21
Joecodepro15-Sep-02 23:21 
AnswerRe: How to display icon under this situation? Pin
Mike Nordell15-Sep-02 23:48
Mike Nordell15-Sep-02 23:48 
GeneralRe: How to display icon under this situation? Pin
Anonymous16-Sep-02 23:14
Anonymous16-Sep-02 23:14 
GeneralError control Pin
Raphael Kindt15-Sep-02 21:59
Raphael Kindt15-Sep-02 21:59 
GeneralRe: Error control Pin
Bill Wilson16-Sep-02 5:48
Bill Wilson16-Sep-02 5:48 
Pretty hard to tell what this code is supposed to accomplish. Is the variable error assigned somewhere? It appears to be undefined in your code. Maybe you need something like

int error = g_eventStart.ResetEvent();

although that is just a guess. The code you presented would, of course, not even compile, unless error is some kind of global, set by the ResetEvent method?

<small>
You wrote:

I've already use Exception but I found that not very usefull...
I've tried with a specific thread which uses a loop. Like this:


</small>


This makes it sound like you are trying to use a thread in a loop to perform the same function as exception handling. Sorry, but that makes absolutely no sense. Handling errors is one topic, but I fail to see what a separate thread has to do with anything.

I think you should try harder with exceptions.
GeneralRe: Error control Pin
Raphael Kindt16-Sep-02 6:42
Raphael Kindt16-Sep-02 6:42 
GeneralRe: Error control Pin
Bill Wilson16-Sep-02 6:54
Bill Wilson16-Sep-02 6:54 
GeneralRe: Error control Pin
Raphael Kindt16-Sep-02 22:28
Raphael Kindt16-Sep-02 22:28 
GeneralUrgent help on Toolbars Pin
haroonaslam15-Sep-02 21:02
haroonaslam15-Sep-02 21:02 
GeneralDisplaying jpeg file Pin
suresh_sathya15-Sep-02 20:10
suresh_sathya15-Sep-02 20:10 
GeneralRe: Displaying jpeg file Pin
.dan.g.15-Sep-02 20:15
professional.dan.g.15-Sep-02 20:15 
GeneralRe: Displaying jpeg file Pin
Bill Gates Antimatter Particle15-Sep-02 22:28
Bill Gates Antimatter Particle15-Sep-02 22:28 
QuestionHow to detect and reset an AudioStream? Pin
DengJW15-Sep-02 19:55
DengJW15-Sep-02 19:55 
GeneralProgrammatically setting min.NT password length. Pin
abhinarulkar15-Sep-02 19:34
abhinarulkar15-Sep-02 19:34 
GeneralRe: Programmatically setting min.NT password length. Pin
Simon.W16-Sep-02 3:42
Simon.W16-Sep-02 3:42 
GeneralRe: Programmatically setting min.NT password length. Pin
abhinarulkar16-Sep-02 4:17
abhinarulkar16-Sep-02 4:17 
QuestionHello,everyone.I come here first,anyone can help me? Pin
Jozu15-Sep-02 19:22
Jozu15-Sep-02 19:22 
AnswerRe: Hello,everyone.I come here first,anyone can help me? Pin
Mustafa Demirhan15-Sep-02 20:52
Mustafa Demirhan15-Sep-02 20:52 
GeneralThank for reply.but... Pin
Anonymous15-Sep-02 21:14
Anonymous15-Sep-02 21:14 
GeneralOpen the *.chm file in VC++ Pin
Anonymous15-Sep-02 18:22
Anonymous15-Sep-02 18:22 
GeneralRe: Open the *.chm file in VC++ Pin
Dave Bryant15-Sep-02 18:52
Dave Bryant15-Sep-02 18:52 
GeneralOpen the *.chm file in VC++ Pin
15-Sep-02 20:13
suss15-Sep-02 20:13 

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.