Click here to Skip to main content
16,015,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM support in win32 console program Pin
Michael Dunn25-May-02 8:56
sitebuilderMichael Dunn25-May-02 8:56 
GeneralRe: COM support in win32 console program Pin
Chen Jiadong25-May-02 21:12
Chen Jiadong25-May-02 21:12 
GeneralRe: COM support in win32 console program Pin
Michael P Butler25-May-02 10:55
Michael P Butler25-May-02 10:55 
GeneralI/O completion port Pin
24-May-02 22:58
suss24-May-02 22:58 
GeneralRe: I/O completion port Pin
NormDroid24-May-02 23:38
professionalNormDroid24-May-02 23:38 
GeneralRe: I/O completion port Pin
Mike Nordell26-May-02 16:41
Mike Nordell26-May-02 16:41 
GeneralRe: I/O completion port Pin
Gerald Schwab26-May-02 16:44
Gerald Schwab26-May-02 16:44 
GeneralAssertion Failure Pin
laphijia24-May-02 22:15
laphijia24-May-02 22:15 
*****************
//File: MyForm.h

public:
int number;

*******************
//File: Something.cpp
#include MyForm.h

void CSomething::OnBnClickedButton()
CMyForm myNew;
myNew.number = 3
AfxMessageBox(myNew.number);

*******************
When I run this and I click button1 I receive a
Debug Assertion Failed,
File: appui1.cpp
Line: 144

I press ignore and then my AfxMessageBox dispays empty.

*******************
I got this problem before when trying from a form1 to call the m_editBox.SetWindowText() function of a control on a form2, and someone suggested that the form2 was not yet created and to call the Create() function before.

I tought that with this simple int the things should be easier.
It wasn't so!

"Nelle cose del mondo non e' il sapere ma il volere che puo'."
GeneralRe: Assertion Failure Pin
PJ Arends24-May-02 22:38
professionalPJ Arends24-May-02 22:38 
GeneralRe: Assertion Failure Pin
laphijia24-May-02 22:46
laphijia24-May-02 22:46 
GeneralRe: Assertion Failure Pin
PJ Arends24-May-02 23:24
professionalPJ Arends24-May-02 23:24 
GeneralRe: Assertion Failure Pin
24-May-02 23:58
suss24-May-02 23:58 
GeneralRe: Assertion Failure Pin
Nish Nishant25-May-02 0:12
sitebuilderNish Nishant25-May-02 0:12 
GeneralRe: Assertion Failure Pin
PJ Arends25-May-02 7:30
professionalPJ Arends25-May-02 7:30 
GeneralProblem to use StrRetToBuf function Pin
24-May-02 22:19
suss24-May-02 22:19 
GeneralWindow, transparent for mouse clicks Pin
Alex Cramer24-May-02 21:34
Alex Cramer24-May-02 21:34 
GeneralRe: Window, transparent for mouse clicks Pin
Renjith Ramachandran25-May-02 4:04
Renjith Ramachandran25-May-02 4:04 
GeneralPuzzled when converting CInternetFile* to FILE* Pin
George Ma24-May-02 19:37
George Ma24-May-02 19:37 
GeneralRe: Puzzled when converting CInternetFile* to FILE* Pin
Nish Nishant24-May-02 19:55
sitebuilderNish Nishant24-May-02 19:55 
GeneralRe: Puzzled when converting CInternetFile* to FILE* Pin
Erik Funkenbusch25-May-02 3:29
Erik Funkenbusch25-May-02 3:29 
GeneralRe: Puzzled when converting CInternetFile* to FILE* Pin
George Ma25-May-02 17:07
George Ma25-May-02 17:07 
GeneralCFontDialog and LOGFONT :: MFC Pin
valikac24-May-02 17:52
valikac24-May-02 17:52 
GeneralRe: CFontDialog and LOGFONT :: MFC Pin
Jason Henderson24-May-02 18:46
Jason Henderson24-May-02 18:46 
GeneralRe: CFontDialog and LOGFONT :: MFC Pin
valikac25-May-02 5:58
valikac25-May-02 5:58 
Generalavi software Pin
pnpfriend24-May-02 13:52
pnpfriend24-May-02 13:52 

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.