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

C / C++ / MFC

 
GeneralRe: hImagehlpDll = LoadLibrary((LPCWSTR)L"imagehlp.dll" ); this WORKED Pin
ForNow18-Apr-08 6:21
ForNow18-Apr-08 6:21 
QuestionRe: hImagehlpDll = LoadLibrary((LPCWSTR)L"imagehlp.dll" ); this WORKED Pin
David Crow18-Apr-08 7:02
David Crow18-Apr-08 7:02 
GeneralRe: hImagehlpDll = LoadLibrary((LPCWSTR)L"imagehlp.dll" ); this WORKED Pin
ForNow18-Apr-08 11:42
ForNow18-Apr-08 11:42 
Generalinline Pin
User 58385216-Apr-08 13:12
User 58385216-Apr-08 13:12 
GeneralRe: inline Pin
Stephen Hewitt16-Apr-08 15:10
Stephen Hewitt16-Apr-08 15:10 
GeneralRe: inline Pin
User 58385216-Apr-08 15:17
User 58385216-Apr-08 15:17 
GeneralRe: inline Pin
Randor 16-Apr-08 16:13
professional Randor 16-Apr-08 16:13 
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 

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.