Click here to Skip to main content
15,919,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow do i put a bmp into an exe file??? Pin
namaskaaram15-Nov-04 23:58
namaskaaram15-Nov-04 23:58 
AnswerRe: how do i put a bmp into an exe file??? Pin
User 21559716-Nov-04 0:25
User 21559716-Nov-04 0:25 
GeneralRe: how do i put a bmp into an exe file??? Pin
namaskaaram16-Nov-04 0:53
namaskaaram16-Nov-04 0:53 
GeneralRe: how do i put a bmp into an exe file??? Pin
ThatsAlok16-Nov-04 2:37
ThatsAlok16-Nov-04 2:37 
GeneralRe: how do i put a bmp into an exe file???.....not the desired output!!!!! Pin
namaskaaram16-Nov-04 3:18
namaskaaram16-Nov-04 3:18 
GeneralRe: how do i put a bmp into an exe file???.....not the desired output!!!!! Pin
Antony M Kancidrowski16-Nov-04 4:36
Antony M Kancidrowski16-Nov-04 4:36 
Generalthanx!!!!! Pin
namaskaaram16-Nov-04 19:11
namaskaaram16-Nov-04 19:11 
GeneralRe: how do i put a bmp into an exe file???.....not the desired output!!!!! Pin
Jon Hulatt16-Nov-04 4:59
Jon Hulatt16-Nov-04 4:59 
Generalthanx!!!!! Pin
namaskaaram16-Nov-04 19:11
namaskaaram16-Nov-04 19:11 
GeneralRe: how do i put a bmp into an exe file??? Pin
User 21559716-Nov-04 17:46
User 21559716-Nov-04 17:46 
GeneralError in filecore.cpp line 258 Pin
SamuelTee15-Nov-04 23:49
SamuelTee15-Nov-04 23:49 
GeneralRe: Error in filecore.cpp line 258 Pin
User 21559716-Nov-04 0:30
User 21559716-Nov-04 0:30 
GeneralRe: Error in filecore.cpp line 258 Pin
ThatsAlok16-Nov-04 2:41
ThatsAlok16-Nov-04 2:41 
GeneralRe: Error in filecore.cpp line 258 Pin
David Crow16-Nov-04 2:50
David Crow16-Nov-04 2:50 
GeneralWizard Dialog problems Pin
#realJSOP15-Nov-04 23:46
professional#realJSOP15-Nov-04 23:46 
GeneralRe: Wizard Dialog problems Pin
Jack Puppy16-Nov-04 0:49
Jack Puppy16-Nov-04 0:49 
GeneralRe: Wizard Dialog problems Pin
Maximilien16-Nov-04 0:54
Maximilien16-Nov-04 0:54 
GeneralRe: Wizard Dialog problems Pin
#realJSOP16-Nov-04 2:39
professional#realJSOP16-Nov-04 2:39 
GeneralColor of text in CStatic control Pin
Cedric Moonen15-Nov-04 23:23
Cedric Moonen15-Nov-04 23:23 
GeneralRe: Color of text in CStatic control Pin
Jack Puppy16-Nov-04 0:36
Jack Puppy16-Nov-04 0:36 
GeneralRe: Color of text in CStatic control Pin
Cedric Moonen16-Nov-04 1:07
Cedric Moonen16-Nov-04 1:07 
GeneralRecordset Open(using select statement) Pin
vc-programmer-15-Nov-04 22:49
vc-programmer-15-Nov-04 22:49 
Generalfind pid for an open tcp connection in Windows 2000 Pin
Anonymous15-Nov-04 22:27
Anonymous15-Nov-04 22:27 
GeneralDialog Variable can not be assigned Pin
Jens Lüddecke15-Nov-04 22:16
Jens Lüddecke15-Nov-04 22:16 
Hello!
I have got the following problem!

Ich have written a Dll for a Socket Connection. This Dll call a callback function when it receives a Msg over the net.
The function which is called from the dll is a global function in my Testapplication. The global function calls my receive function which only copys the msg in two Membervariablen from the Dialog. These Membervariablen are undefined (Debug shows: ???) and the program crashs.

Global receive function
void gReceiveMsg(CMsg *pMsg)
{
((CSocketTesterApp*)AfxGetApp())->CallbackReceiveMsg(pMsg);
}

function in my application (the values are received correct )
void CSocketTesterApp::CallbackReceiveMsg(CMsg *pMsg)
{
CString sVar = "";
double nVal =0;
pMsg->GetData(&sVar,&nVal);
((CSocketTesterDlg*)AfxGetMainWnd())->ReceiveMsg(sVar,nVal);
}

receive function in my Dialog
void CSocketTesterDlg::ReceiveMsg(CString sVariable, double nValue)
{
m_sRecVariable = sVariable;
m_nRecValue = nValue;
UpdateData(FALSE);
}

The Program crashs after the assignment to the membervariable.
I hope someone can help me!!!

king regards

Jens Lüddecke

QuestionMultiple selection in CTreeCtrl possible… ? Pin
anderslundsgard15-Nov-04 21:46
anderslundsgard15-Nov-04 21:46 

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.