Click here to Skip to main content
15,912,457 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CButton - States Pin
toxcct11-Oct-06 21:57
toxcct11-Oct-06 21:57 
AnswerRe: CButton - States Pin
singersinger11-Oct-06 22:19
singersinger11-Oct-06 22:19 
AnswerRe: CButton - States Pin
Hamid_RT12-Oct-06 7:32
Hamid_RT12-Oct-06 7:32 
QuestionError Message Function Pin
Programm3r11-Oct-06 21:29
Programm3r11-Oct-06 21:29 
AnswerRe: Error Message Function Pin
Cedric Moonen11-Oct-06 21:49
Cedric Moonen11-Oct-06 21:49 
QuestionRe: Error Message Function [modified] Pin
Programm3r11-Oct-06 21:53
Programm3r11-Oct-06 21:53 
AnswerRe: Error Message Function Pin
Cedric Moonen11-Oct-06 22:16
Cedric Moonen11-Oct-06 22:16 
GeneralRe: Error Message Function Pin
Programm3r11-Oct-06 22:27
Programm3r11-Oct-06 22:27 
O.k, I'll try and explain again. So I call the function and send it a value of a function
that exists and is part of the same application. Then I let a error occur so that I can test the function and the output the messagebox will give me. As shown below.


 <br />
wsprintf(szBuf,"%s failed with error %d: %s",lpszFunction, dw, lpMsgBuf);  	<br />
MessageBox(NULL, szBuf, "Error", MB_ICONHAND);    <br />


And the output of the messagebox is:
<functionname> specified module could not be found : error code 126


But the error I caused, as mentioned earlier, was something like this:


 <br />
bool a = true;<br />
printf("Value of a %s :",a);<br />


Makes sense??

The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

GeneralRe: Error Message Function Pin
Cedric Moonen11-Oct-06 22:38
Cedric Moonen11-Oct-06 22:38 
GeneralRe: Error Message Function Pin
Mark Salsbery12-Oct-06 5:59
Mark Salsbery12-Oct-06 5:59 
Questionclosing the splash-screen when any keyboard key is pressed Pin
Veeresh Hiremath11-Oct-06 21:22
Veeresh Hiremath11-Oct-06 21:22 
AnswerRe: closing the splash-screen when any keyboard key is pressed Pin
Ranjan Shrestha11-Oct-06 22:08
Ranjan Shrestha11-Oct-06 22:08 
Questionbitmap in button Pin
zizzzz11-Oct-06 21:12
zizzzz11-Oct-06 21:12 
AnswerRe: bitmap in button Pin
Programm3r11-Oct-06 21:36
Programm3r11-Oct-06 21:36 
AnswerRe: bitmap in button Pin
Veeresh Hiremath11-Oct-06 21:41
Veeresh Hiremath11-Oct-06 21:41 
AnswerRe: bitmap in button Pin
Hamid_RT12-Oct-06 2:03
Hamid_RT12-Oct-06 2:03 
QuestionHow to send Trace message to file instead of debugger? Pin
ccp99911-Oct-06 21:10
ccp99911-Oct-06 21:10 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Programm3r11-Oct-06 21:38
Programm3r11-Oct-06 21:38 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Hamid_RT13-Oct-06 7:45
Hamid_RT13-Oct-06 7:45 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Hamid_RT17-Oct-06 1:07
Hamid_RT17-Oct-06 1:07 
QuestionRecovering deleted items Pin
neha.agarwal2711-Oct-06 20:36
neha.agarwal2711-Oct-06 20:36 
AnswerRe: Recovering deleted items Pin
act_x11-Oct-06 20:40
act_x11-Oct-06 20:40 
QuestionKeeping smart pointers in a dynamic array. Pin
VCSharp00711-Oct-06 20:06
VCSharp00711-Oct-06 20:06 
AnswerRe: Keeping smart pointers in a dynamic array. Pin
act_x11-Oct-06 20:25
act_x11-Oct-06 20:25 
GeneralRe: Keeping smart pointers in a dynamic array. Pin
Stephen Hewitt11-Oct-06 21:19
Stephen Hewitt11-Oct-06 21:19 

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.