Click here to Skip to main content
15,921,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need API to access the user group to which a currently logged in user belongs Pin
humps12-Feb-05 0:17
humps12-Feb-05 0:17 
GeneralRe: Need API to access the user group to which a currently logged in user belongs Pin
ThatsAlok12-Feb-05 0:35
ThatsAlok12-Feb-05 0:35 
GeneralRe: Need API to access the user group to which a currently logged in user belongs Pin
~Worried!13-Feb-05 16:52
~Worried!13-Feb-05 16:52 
GeneralHTTP Post Data Processing Pin
humps11-Feb-05 23:35
humps11-Feb-05 23:35 
GeneralRe: HTTP Post Data Processing Pin
Ravi Bhavnani12-Feb-05 5:09
professionalRavi Bhavnani12-Feb-05 5:09 
GeneralRe: HTTP Post Data Processing Pin
humps12-Feb-05 9:45
humps12-Feb-05 9:45 
GeneralRe: HTTP Post Data Processing Pin
Ravi Bhavnani12-Feb-05 11:18
professionalRavi Bhavnani12-Feb-05 11:18 
GeneralRegular DLL Pin
Alfred Furer11-Feb-05 23:03
Alfred Furer11-Feb-05 23:03 
VC++.net : I have a problem, maybe someone can help me.

I try tu make a DLL to use with a client (Cocreate ME10).
I created a Regular DLL with MFC statically linked.
Then i created a CDialog with a CComboBox and a CListbox what i like
to fill with Items from a Database.

In the CDialog Class i created a Control variabel to the CCombobox:
CComboBox m_ctlCbNames;
To make work my modeless Dialog i use :

BOOL WINAPI FilterDllMsg(LPMSG lpMsg)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
TRY
{
return AfxGetThread()->PreTranslateMessage(lpMsg);
}
END_TRY
return FALSE;
}

If i load the DLL in my Client application the Dialog appears without
any Problems.

But if i try to add a string to the Combobox control variabel :
m_ctlCbNames.AddString(_T("Test"));
or
m_ctlCbNames.SetCurSel(0);

then i get the following Error when i call my function in the DLL from
my client program :

Debug Assertion Failed !
...vs70builds\...\afxwin2.inl
Line757

alfred.furer@skynet.be
Confused | :confused:
GeneralRFC - Duplicate file finder features Pin
Subhobroto11-Feb-05 20:40
Subhobroto11-Feb-05 20:40 
GeneralSocket Programming Pin
Member 90098711-Feb-05 20:21
Member 90098711-Feb-05 20:21 
GeneralRe: Socket Programming Pin
ThatsAlok11-Feb-05 23:15
ThatsAlok11-Feb-05 23:15 
GeneralRe: Socket Programming Pin
Ravi Bhavnani12-Feb-05 5:11
professionalRavi Bhavnani12-Feb-05 5:11 
GeneralRe: Socket Programming Pin
Member 90098712-Feb-05 5:37
Member 90098712-Feb-05 5:37 
GeneralRe: Socket Programming Pin
Mohammad A Gdeisat12-Feb-05 6:10
Mohammad A Gdeisat12-Feb-05 6:10 
GeneralRe: Socket Programming Pin
Member 90098716-Feb-05 18:04
Member 90098716-Feb-05 18:04 
GeneralFile Transfer Pin
Member 172633411-Feb-05 19:59
Member 172633411-Feb-05 19:59 
GeneralRe: File Transfer Pin
ThatsAlok11-Feb-05 22:30
ThatsAlok11-Feb-05 22:30 
GeneralRe: File Transfer Pin
Mohammad A Gdeisat12-Feb-05 6:15
Mohammad A Gdeisat12-Feb-05 6:15 
GeneralRe: File Transfer Pin
ThatsAlok12-Feb-05 6:47
ThatsAlok12-Feb-05 6:47 
GeneralRe: File Transfer Pin
Mohammad A Gdeisat12-Feb-05 9:16
Mohammad A Gdeisat12-Feb-05 9:16 
GeneralProblem with GDI+ in Visual C++ 6.0 Pin
uus9911-Feb-05 17:50
uus9911-Feb-05 17:50 
GeneralCFileDialog Issues Pin
JKallen11-Feb-05 16:15
JKallen11-Feb-05 16:15 
GeneralRe: CFileDialog Issues Pin
Bob Ciora12-Feb-05 4:08
Bob Ciora12-Feb-05 4:08 
GeneralSIMPLE: "x" in System menu Pin
JKallen11-Feb-05 11:47
JKallen11-Feb-05 11:47 
GeneralRe: SIMPLE: "x" in System menu Pin
David Crow11-Feb-05 12:18
David Crow11-Feb-05 12:18 

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.