Click here to Skip to main content
16,004,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MS Office & MFC Pin
Cedric Moonen1-Sep-06 3:14
Cedric Moonen1-Sep-06 3:14 
AnswerRe: MS Office & MFC Pin
Waldermort1-Sep-06 4:32
Waldermort1-Sep-06 4:32 
GeneralRe: MS Office & MFC Pin
Vinicius Pontes1-Sep-06 4:35
Vinicius Pontes1-Sep-06 4:35 
GeneralRe: MS Office & MFC Pin
Cedric Moonen1-Sep-06 4:48
Cedric Moonen1-Sep-06 4:48 
AnswerRe: MS Office & MFC Pin
Hamid_RT2-Sep-06 9:33
Hamid_RT2-Sep-06 9:33 
QuestionRetrieving Regisrty Value Pin
Programm3r1-Sep-06 2:53
Programm3r1-Sep-06 2:53 
AnswerRe: Retrieving Regisrty Value Pin
Hamid_RT1-Sep-06 2:58
Hamid_RT1-Sep-06 2:58 
AnswerRe: Retrieving Regisrty Value Pin
Cedric Moonen1-Sep-06 3:04
Cedric Moonen1-Sep-06 3:04 
Programm3r wrote:
But the program bomb out....


What does 'bomb out' means ? Please be explicit when you encounter a problem. Is it a compilation error, an exception that is raised (which one in this case, ...).
If it's a crash, did you use your debugger to see what's happening.

I think the problem comes from phkResult. What is its value ? Did you initialise the pointer ? If not, it will contain an invalid address and the function will try to write there and crash your program.

Post some more relevant code (so when the other variables are initialised also)


Cédric Moonen
Software developer

Charting control [Updated - v1.1]

GeneralRe: Retrieving Regisrty Value Pin
Programm3r1-Sep-06 3:10
Programm3r1-Sep-06 3:10 
GeneralRe: Retrieving Regisrty Value Pin
Hamid_RT1-Sep-06 3:12
Hamid_RT1-Sep-06 3:12 
GeneralRe: Retrieving Regisrty Value Pin
Programm3r1-Sep-06 3:14
Programm3r1-Sep-06 3:14 
AnswerRe: Retrieving Regisrty Value Pin
prasad_som1-Sep-06 3:07
prasad_som1-Sep-06 3:07 
GeneralRe: Retrieving Regisrty Value Pin
Programm3r1-Sep-06 3:13
Programm3r1-Sep-06 3:13 
GeneralRe: Retrieving Regisrty Value Pin
prasad_som1-Sep-06 3:14
prasad_som1-Sep-06 3:14 
GeneralRe: Retrieving Regisrty Value Pin
Programm3r1-Sep-06 3:16
Programm3r1-Sep-06 3:16 
GeneralRe: Retrieving Regisrty Value Pin
Cedric Moonen1-Sep-06 3:16
Cedric Moonen1-Sep-06 3:16 
AnswerRe: Retrieving Regisrty Value Pin
Stephen Hewitt1-Sep-06 4:01
Stephen Hewitt1-Sep-06 4:01 
QuestionGet Connection Requested System IP Pin
Kiran Pinjala1-Sep-06 2:42
Kiran Pinjala1-Sep-06 2:42 
AnswerRe: Get Connection Requested System IP Pin
_AnsHUMAN_ 1-Sep-06 2:46
_AnsHUMAN_ 1-Sep-06 2:46 
QuestionRe: Get Connection Requested System IP Pin
Kiran Pinjala1-Sep-06 3:01
Kiran Pinjala1-Sep-06 3:01 
QuestionRichEditControl Pin
muravi1-Sep-06 2:36
muravi1-Sep-06 2:36 
AnswerRe: RichEditControl Pin
_AnsHUMAN_ 1-Sep-06 2:39
_AnsHUMAN_ 1-Sep-06 2:39 
QuestionProgram aborts while adding setItemText to ListControl Pin
RajiRaghu1-Sep-06 2:26
RajiRaghu1-Sep-06 2:26 
AnswerRe: Program aborts while adding setItemText to ListControl Pin
prasad_som1-Sep-06 3:03
prasad_som1-Sep-06 3:03 
AnswerRe: Program aborts while adding setItemText to ListControl Pin
Hamid_RT2-Sep-06 9:29
Hamid_RT2-Sep-06 9:29 

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.