Click here to Skip to main content
15,896,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: handle fullscreen child view in c++ 2010? Pin
fracker_23214-Aug-11 1:28
fracker_23214-Aug-11 1:28 
AnswerRe: handle fullscreen child view in c++ 2010? Pin
Rolf Kristensen4-Aug-11 12:06
Rolf Kristensen4-Aug-11 12:06 
Questionpin_ptr on value struct is needed? [modified] Pin
Dusan Paulovic3-Aug-11 6:16
Dusan Paulovic3-Aug-11 6:16 
AnswerRe: pin_ptr on value struct is needed? Pin
Code-o-mat3-Aug-11 6:34
Code-o-mat3-Aug-11 6:34 
GeneralRe: pin_ptr on value struct is needed? Pin
Dusan Paulovic3-Aug-11 6:53
Dusan Paulovic3-Aug-11 6:53 
GeneralRe: pin_ptr on value struct is needed? Pin
Code-o-mat3-Aug-11 8:28
Code-o-mat3-Aug-11 8:28 
QuestionHow to get msn status Pin
Lighter Joul2-Aug-11 22:41
Lighter Joul2-Aug-11 22:41 
AnswerRe: How to get msn status Pin
Richard MacCutchan2-Aug-11 22:49
mveRichard MacCutchan2-Aug-11 22:49 
GeneralRe: How to get msn status Pin
Lighter Joul2-Aug-11 23:08
Lighter Joul2-Aug-11 23:08 
GeneralRe: How to get msn status Pin
Richard MacCutchan2-Aug-11 23:34
mveRichard MacCutchan2-Aug-11 23:34 
AnswerRe: How to get msn status Pin
Code-o-mat3-Aug-11 1:40
Code-o-mat3-Aug-11 1:40 
AnswerRe: How to get msn status Pin
jschell3-Aug-11 9:53
jschell3-Aug-11 9:53 
QuestionHow to increase transfer speed? Pin
yu-jian2-Aug-11 21:24
yu-jian2-Aug-11 21:24 
AnswerRe: How to increase transfer speed? Pin
Alan Balkany4-Aug-11 4:43
Alan Balkany4-Aug-11 4:43 
QuestionHow to make member functions of an application accessible by a DLL? Pin
Arris742-Aug-11 10:00
Arris742-Aug-11 10:00 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
Chris Losinger2-Aug-11 10:15
professionalChris Losinger2-Aug-11 10:15 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Stephen Hewitt2-Aug-11 21:24
Stephen Hewitt2-Aug-11 21:24 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Chris Losinger3-Aug-11 0:50
professionalChris Losinger3-Aug-11 0:50 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
Albert Holguin2-Aug-11 12:15
professionalAlbert Holguin2-Aug-11 12:15 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Arris742-Aug-11 20:36
Arris742-Aug-11 20:36 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Albert Holguin3-Aug-11 5:07
professionalAlbert Holguin3-Aug-11 5:07 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
Richard MacCutchan2-Aug-11 22:46
mveRichard MacCutchan2-Aug-11 22:46 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
MANISH RASTOGI4-Aug-11 2:51
MANISH RASTOGI4-Aug-11 2:51 
Export function from exe and import in dll.
Below example is taken from http://www.codeguru.com/cpp/w-p/dll/article.php/c3649


In the EXE:
// Do exactly as you would export a DLL...
extern "C"
{
EXPORT void ExeFn(char * lpszMessage)
{
MessageBox(NULL,lpszMessage,"From Exe",MB_OK);
}
}


In the DLL:
...
// Get the handle of the EXE that loaded us.

FnPtrT FnPtr = (FnPtrT)::GetProcAddress(GetModuleHandle(NULL),
"ExeFn");
if(FnPtr)
(*FnPtr)("Message From The DLL");
else
MessageBox(NULL,"It Did Not work Frown | :( ,"From DLL",MB_OK);

...
Question/clr:pure question Pin
WebDev.ChrisG2-Aug-11 5:01
WebDev.ChrisG2-Aug-11 5:01 
AnswerRe: /clr:pure question Pin
Rolf Kristensen2-Aug-11 12:47
Rolf Kristensen2-Aug-11 12:47 

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.