Click here to Skip to main content
15,910,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multiple dll Pin
led mike18-Feb-09 4:30
led mike18-Feb-09 4:30 
QuestionCComboBox Pin
durban218-Feb-09 2:32
durban218-Feb-09 2:32 
HI! help, please, me.
MFC, Visual C++ STUDIO 2008
I want to place string into ComboBox that
Is on modeless dialog window.
I’m using two classes:
class CAdodc_my : public Cdialog
class CMyModeless2 : public Cdialog

CMyModeless2* m_pModeless; // into "MyModeless2.h"
CComboBox m_cComboBoxModeless;  // into "MyModeless2.h"

BOOL CAdodc_my::OnInitDialog()
{
m_pModeless = new  CMyModeless2( this); // into constructor Adodc_my.cpp
m_pModeless->m_cComboBoxModeless.AddString("SPARTAC");
}
Debug Assertion Failed!
Program: ...Tested_Examples_Studio_2008\ADOMy_first\Debug\ADOMy_first.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\include\afxwin2.inl
Line: 879
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)

AnswerRe: CComboBox Pin
krmed18-Feb-09 2:45
krmed18-Feb-09 2:45 
AnswerRe: CComboBox Pin
_AnsHUMAN_ 18-Feb-09 2:46
_AnsHUMAN_ 18-Feb-09 2:46 
AnswerRe: CComboBox Pin
David Crow18-Feb-09 3:05
David Crow18-Feb-09 3:05 
QuestionPassing a string Pin
brucewayn18-Feb-09 2:31
brucewayn18-Feb-09 2:31 
AnswerRe: Passing a string Pin
Cedric Moonen18-Feb-09 2:38
Cedric Moonen18-Feb-09 2:38 
GeneralRe: Passing a string Pin
CPallini18-Feb-09 22:06
mveCPallini18-Feb-09 22:06 
GeneralRe: Passing a string Pin
Cedric Moonen18-Feb-09 22:49
Cedric Moonen18-Feb-09 22:49 
GeneralRe: Passing a string Pin
CPallini18-Feb-09 23:12
mveCPallini18-Feb-09 23:12 
AnswerRe: Passing a string Pin
eraccn18-Feb-09 3:00
eraccn18-Feb-09 3:00 
QuestionOnSize() function help Pin
Deepu Antony18-Feb-09 1:28
Deepu Antony18-Feb-09 1:28 
AnswerRe: OnSize() function help Pin
Arman S.18-Feb-09 1:52
Arman S.18-Feb-09 1:52 
GeneralRe: OnSize() function help Pin
Deepu Antony18-Feb-09 2:22
Deepu Antony18-Feb-09 2:22 
QuestionSetting for removing a file path from Liner->Command Line in VS2005 Pin
pandit8418-Feb-09 1:24
pandit8418-Feb-09 1:24 
QuestionThread Pin
Davitor18-Feb-09 1:15
Davitor18-Feb-09 1:15 
AnswerRe: Thread Pin
Chandrasekharan P18-Feb-09 1:22
Chandrasekharan P18-Feb-09 1:22 
GeneralRe: Thread Pin
Davitor18-Feb-09 1:38
Davitor18-Feb-09 1:38 
GeneralRe: Thread Pin
Cedric Moonen18-Feb-09 1:47
Cedric Moonen18-Feb-09 1:47 
AnswerRe: Thread Pin
Cedric Moonen18-Feb-09 1:37
Cedric Moonen18-Feb-09 1:37 
GeneralRe: Thread Pin
Davitor18-Feb-09 1:55
Davitor18-Feb-09 1:55 
GeneralRe: Thread Pin
CPallini18-Feb-09 2:06
mveCPallini18-Feb-09 2:06 
GeneralRe: Thread Pin
Luc Pattyn18-Feb-09 2:58
sitebuilderLuc Pattyn18-Feb-09 2:58 
GeneralRe: Thread Pin
CPallini18-Feb-09 3:01
mveCPallini18-Feb-09 3:01 
GeneralRe: Thread Pin
David Crow18-Feb-09 3:09
David Crow18-Feb-09 3:09 

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.