Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein28-Aug-02 4:08
Andreas Saurwein28-Aug-02 4:08 
GeneralRe: Update controls in timer, doesn't update Pin
jimNLX28-Aug-02 4:15
jimNLX28-Aug-02 4:15 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein28-Aug-02 4:42
Andreas Saurwein28-Aug-02 4:42 
Generalcrash !! Help Pin
ns27-Aug-02 11:41
ns27-Aug-02 11:41 
GeneralRe: crash !! Help Pin
Christian Graus27-Aug-02 12:01
protectorChristian Graus27-Aug-02 12:01 
GeneralMy registry code Pin
Anonymous27-Aug-02 16:21
Anonymous27-Aug-02 16:21 
GeneralRe: My registry code Pin
Andreas Saurwein27-Aug-02 23:22
Andreas Saurwein27-Aug-02 23:22 
GeneralRe: crash !! Help Pin
Andreas Saurwein27-Aug-02 13:42
Andreas Saurwein27-Aug-02 13:42 
ns wrote:
Weirder yet, after the three fldialogs get their inputs they save then to the registry. and then crashes. But if you run the program again after these keys have been created, it runs just fine!!

Could it be that you read this registry keys too? If so, I suppose that you do a RegOpenKey(..) which fails, thus you have a invalid handle that you dont check for, thus the next use of this handle will fail again.

Take a look in this areas.

int x=1, y=5; 
x^=y^=x^=y; // whats the content of x and y now?
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>

Generalsorry for the ultra long post above. Desperate! Pin
Anonymous27-Aug-02 16:24
Anonymous27-Aug-02 16:24 
GeneralWeird Resolution to problem Pin
ns28-Aug-02 3:23
ns28-Aug-02 3:23 
GeneralRe: Weird Resolution to problem Pin
Andreas Saurwein28-Aug-02 3:29
Andreas Saurwein28-Aug-02 3:29 
GeneralRe: Weird Resolution to problem Pin
ns28-Aug-02 5:55
ns28-Aug-02 5:55 
GeneralGetFileSecurity Pin
Matthew R. Miller27-Aug-02 10:55
Matthew R. Miller27-Aug-02 10:55 
GeneralRe: GetFileSecurity Pin
Tomasz Sowinski27-Aug-02 11:10
Tomasz Sowinski27-Aug-02 11:10 
GeneralAnother Error..... Pin
Nick Parker27-Aug-02 10:44
protectorNick Parker27-Aug-02 10:44 
GeneralRe: Another Error..... Pin
jmkhael27-Aug-02 10:49
jmkhael27-Aug-02 10:49 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 10:51
protectorNick Parker27-Aug-02 10:51 
GeneralRe: Another Error..... Pin
jmkhael27-Aug-02 10:58
jmkhael27-Aug-02 10:58 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 11:04
protectorNick Parker27-Aug-02 11:04 
GeneralRe: Another Error..... Pin
Anonymous27-Aug-02 10:59
Anonymous27-Aug-02 10:59 
GeneralRe: Another Error..... Pin
Chris Losinger27-Aug-02 11:38
professionalChris Losinger27-Aug-02 11:38 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 11:42
protectorNick Parker27-Aug-02 11:42 
GeneralRe: Another Error..... Pin
Todd Smith27-Aug-02 20:23
Todd Smith27-Aug-02 20:23 
GeneralRe: Another Error..... Pin
Christian Graus27-Aug-02 12:28
protectorChristian Graus27-Aug-02 12:28 
QuestionIs MFC really as bad as it seems? Pin
Anonymous27-Aug-02 10:26
Anonymous27-Aug-02 10:26 

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.