Click here to Skip to main content
15,907,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Debug assersion error Pin
David Crow15-Oct-10 2:49
David Crow15-Oct-10 2:49 
AnswerRe: Debug assersion error Pin
MKC00216-Oct-10 3:11
MKC00216-Oct-10 3:11 
AnswerRe: Debug assersion error Pin
David Crow16-Oct-10 11:24
David Crow16-Oct-10 11:24 
GeneralRe: Debug assersion error [modified] Pin
MKC00217-Oct-10 18:49
MKC00217-Oct-10 18:49 
AnswerRe: Debug assersion error Pin
David Crow18-Oct-10 9:56
David Crow18-Oct-10 9:56 
QuestionFile creation date and time Pin
john563212-Oct-10 21:09
john563212-Oct-10 21:09 
AnswerRe: File creation date and time Pin
trotwa12-Oct-10 21:27
trotwa12-Oct-10 21:27 
GeneralRe: File creation date and time Pin
Richard MacCutchan12-Oct-10 22:39
mveRichard MacCutchan12-Oct-10 22:39 
AnswerRe: File creation date and time Pin
CPallini12-Oct-10 21:30
mveCPallini12-Oct-10 21:30 
GeneralRe: File creation date and time Pin
bleedingfingers12-Oct-10 21:55
bleedingfingers12-Oct-10 21:55 
GeneralRe: File creation date and time Pin
CPallini12-Oct-10 22:01
mveCPallini12-Oct-10 22:01 
AnswerRe: File creation date and time Pin
Sauro Viti12-Oct-10 21:32
professionalSauro Viti12-Oct-10 21:32 
GeneralRe: File creation date and time Pin
john563212-Oct-10 23:23
john563212-Oct-10 23:23 
GeneralRe: File creation date and time Pin
Sauro Viti12-Oct-10 23:35
professionalSauro Viti12-Oct-10 23:35 
QuestionHow to hide the RibbonButton???? [modified] Pin
kwanghee choi12-Oct-10 20:10
kwanghee choi12-Oct-10 20:10 
AnswerRe: How to hide the RibbonButton???? Pin
Code-o-mat13-Oct-10 5:02
Code-o-mat13-Oct-10 5:02 
Questionsscanf_s invalidating pointers. Need help Pin
Hipcrostino12-Oct-10 20:03
Hipcrostino12-Oct-10 20:03 
AnswerRe: sscanf_s invalidating pointers. Need help Pin
Cedric Moonen12-Oct-10 20:22
Cedric Moonen12-Oct-10 20:22 
GeneralRe: sscanf_s invalidating pointers. Need help Pin
Hipcrostino12-Oct-10 20:32
Hipcrostino12-Oct-10 20:32 
GeneralRe: sscanf_s invalidating pointers. Need help Pin
Cedric Moonen12-Oct-10 20:49
Cedric Moonen12-Oct-10 20:49 
If you look at the type fields documentation[^] you can see that providing 'x' means that you want to read an hexadecimal integer. The result should be stored in an integer, not in a byte. The sscanf_s is probably corrupting memory when trying to write the integer to the byte you provided. Try with to supply an integer instead (you'll need to retrieve the first byte of the integer after it but a simple cast will do it).
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

GeneralRe: sscanf_s invalidating pointers. Need help Pin
Hipcrostino13-Oct-10 12:43
Hipcrostino13-Oct-10 12:43 
QuestionHow to pass generic pointer to function with void** parameter? Pin
Chesnokov Yuriy12-Oct-10 20:02
professionalChesnokov Yuriy12-Oct-10 20:02 
AnswerRe: How to pass generic pointer to function with void** parameter? Pin
CPallini12-Oct-10 21:00
mveCPallini12-Oct-10 21:00 
QuestionRe: How to pass generic pointer to function with void** parameter? Pin
Chesnokov Yuriy12-Oct-10 21:16
professionalChesnokov Yuriy12-Oct-10 21:16 
AnswerRe: How to pass generic pointer to function with void** parameter? PinPopular
CPallini12-Oct-10 21:26
mveCPallini12-Oct-10 21: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.