Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: inline Pin
Randor 16-Apr-08 16:10
professional Randor 16-Apr-08 16:10 
GeneralRe: inline Pin
Stephen Hewitt16-Apr-08 16:23
Stephen Hewitt16-Apr-08 16:23 
GeneralRe: inline Pin
cp987616-Apr-08 16:55
cp987616-Apr-08 16:55 
GeneralIE site refresh message Pin
maarchewa16-Apr-08 10:33
maarchewa16-Apr-08 10:33 
GeneralProgramatically determine if windows updates are being installed Pin
nwunder16-Apr-08 9:43
nwunder16-Apr-08 9:43 
QuestionRe: Programatically determine if windows updates are being installed Pin
David Crow16-Apr-08 10:09
David Crow16-Apr-08 10:09 
GeneralRe: Programatically determine if windows updates are being installed Pin
nwunder16-Apr-08 10:40
nwunder16-Apr-08 10:40 
QuestionAssertion failure Pin
sunguy16-Apr-08 6:55
sunguy16-Apr-08 6:55 
Hello,

I have created a Doc/View wherein a dialog be displayed with some string in the edit box.I created a dialog class 'CconnectDlg' with an edit control 'm_userID'.

In the view class , added a meesage map function for one of the menu items 'OnActionConnect' and modified as below.

-------------------
void CSimulatorView::OnActionConnect()
{
CConnectDlg* connectDlg = new CConnectDlg;

INT_PTR nRet = -1;
nRet = connectDlg->DoModal();

CString s;
s.Format(_T("Returning"));

connectDlg->m_userId.SetWindowTextA(s);

delete(connectDlg);

}
--------------------

when I run this I get assertion failure and in the debug
at 'connectDlg->m_userId.SetWindowTextA(s)' shows
'CEdit hwnd=0x00000000' but not sure what am supposed to do ? why the hwnd is null ? any help is highly is welcome.
GeneralRe: Assertion failure Pin
Cedric Moonen16-Apr-08 7:38
Cedric Moonen16-Apr-08 7:38 
QuestionRe: Assertion failure Pin
David Crow16-Apr-08 10:10
David Crow16-Apr-08 10:10 
GeneralRe: Assertion failure Pin
Moak16-Apr-08 23:58
Moak16-Apr-08 23:58 
QuestionHow do I use GetProcAddress & function pointer? Pin
USAFHokie8016-Apr-08 6:54
USAFHokie8016-Apr-08 6:54 
GeneralRe: How do I use GetProcAddress & function pointer? Pin
Cedric Moonen16-Apr-08 7:40
Cedric Moonen16-Apr-08 7:40 
GeneralRe: How do I use GetProcAddress & function pointer? Pin
USAFHokie8016-Apr-08 8:20
USAFHokie8016-Apr-08 8:20 
GeneralRe: How do I use GetProcAddress & function pointer? Pin
peterchen16-Apr-08 8:41
peterchen16-Apr-08 8:41 
GeneralRe: How do I use GetProcAddress & function pointer? Pin
USAFHokie8016-Apr-08 9:13
USAFHokie8016-Apr-08 9:13 
QuestionRe: How do I use GetProcAddress & function pointer? Pin
David Crow16-Apr-08 10:13
David Crow16-Apr-08 10:13 
QuestionRe: How do I use GetProcAddress & function pointer? Pin
David Crow16-Apr-08 10:12
David Crow16-Apr-08 10:12 
GeneralRe: How do I use GetProcAddress & function pointer? Pin
USAFHokie8016-Apr-08 10:19
USAFHokie8016-Apr-08 10:19 
GeneralCArray in File Mapping Pin
krishnan.s16-Apr-08 5:34
krishnan.s16-Apr-08 5:34 
GeneralRe: CArray in File Mapping Pin
peterchen16-Apr-08 8:13
peterchen16-Apr-08 8:13 
GeneralRe: CArray in File Mapping Pin
Joseph Marzbani16-Apr-08 10:59
Joseph Marzbani16-Apr-08 10:59 
GeneralRe: CArray in File Mapping Pin
peterchen16-Apr-08 12:43
peterchen16-Apr-08 12:43 
QuestionDoDataExchange doesn't like pointers ? Pin
cagespear16-Apr-08 5:33
cagespear16-Apr-08 5:33 
AnswerRe: DoDataExchange doesn't like pointers ? Pin
CPallini16-Apr-08 5:40
mveCPallini16-Apr-08 5:40 

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.