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

C / C++ / MFC

 
GeneralRe: Static Binding & Dynamic Binding :: C++ Pin
valikac2-Jan-02 14:22
valikac2-Jan-02 14:22 
GeneralGraph Pin
Sonu Kapoor31-Dec-01 5:09
Sonu Kapoor31-Dec-01 5:09 
GeneralRe: Graph Pin
Ravi Bhavnani31-Dec-01 5:13
professionalRavi Bhavnani31-Dec-01 5:13 
GeneralCHtmlView Pin
31-Dec-01 4:36
suss31-Dec-01 4:36 
GeneralRe: CHtmlView Pin
Philip Patrick1-Jan-02 2:49
professionalPhilip Patrick1-Jan-02 2:49 
Generalcall a function from more then 1 project Pin
Aviv Halperin31-Dec-01 4:23
Aviv Halperin31-Dec-01 4:23 
GeneralRe: call a function from more then 1 project Pin
Chris Losinger31-Dec-01 4:32
professionalChris Losinger31-Dec-01 4:32 
GeneralLoading function from an exe... Pin
Rickard Andersson2031-Dec-01 3:08
Rickard Andersson2031-Dec-01 3:08 
I can't load a function from my apps exe from one of my apps DLs:

(This code is from one article here on CodeProject I think...)

// I think it just to do the same when loading a function from a DLL.. but noup

static HINSTANCE hinstDLL;
typedef BOOL (CALLBACK *inshook)();

inshook instkbhook;

hinstDLL = LoadLibrary((LPCTSTR) "hodll.dll");

instkbhook = (inshook)GetProcAddress(hinstDLL, "installhook");

instkbhook();


The error is that Explorer crash... how to load a function from my exe?
It's a global function

------------------------------
©0d3 ©®4©k3® - That's me! Smile | :)
------------------------------
GeneralRe: Loading function from an exe... Pin
BlackSmith31-Dec-01 5:33
BlackSmith31-Dec-01 5:33 
GeneralMFC Extention DLL - Exporting classes..... Pin
BlackSmith31-Dec-01 2:49
BlackSmith31-Dec-01 2:49 
GeneralRe: MFC Extention DLL - Exporting classes..... Pin
Nnamdi Onyeyiri31-Dec-01 7:18
Nnamdi Onyeyiri31-Dec-01 7:18 
Questionmenu from resource redrawing? Pin
Kuniva31-Dec-01 2:40
Kuniva31-Dec-01 2:40 
AnswerRe: menu from resource redrawing? Pin
567890123431-Dec-01 4:37
567890123431-Dec-01 4:37 
AnswerRe: menu from resource redrawing? Pin
Michael Dunn31-Dec-01 7:09
sitebuilderMichael Dunn31-Dec-01 7:09 
GeneralHow do i add the handler? Pin
Kuniva1-Jan-02 3:37
Kuniva1-Jan-02 3:37 
GeneralTextWidth and GDI+ (Anders is learning GDI+ part 3) Pin
Anders Molin31-Dec-01 1:51
professionalAnders Molin31-Dec-01 1:51 
GeneralRe: TextWidth and GDI+ (Anders is learning GDI+ part 3) Pin
Andreas Hallberg31-Dec-01 3:51
Andreas Hallberg31-Dec-01 3:51 
GeneralRe: TextWidth and GDI+ (Anders is learning GDI+ part 3) Pin
Anders Molin1-Jan-02 3:35
professionalAnders Molin1-Jan-02 3:35 
GeneralOO concept query Pin
sysdeamon31-Dec-01 1:38
sysdeamon31-Dec-01 1:38 
GeneralRe: OO concept query Pin
Aaron Schaefer31-Dec-01 4:17
Aaron Schaefer31-Dec-01 4:17 
GeneralRe: OO concept query Pin
Alvaro Mendez31-Dec-01 5:56
Alvaro Mendez31-Dec-01 5:56 
GeneralRe: OO concept query Pin
Michael Dunn31-Dec-01 7:11
sitebuilderMichael Dunn31-Dec-01 7:11 
General,TAPI Application Pin
vin30-Dec-01 19:02
vin30-Dec-01 19:02 
GeneralVC++ 6 enhancement Pin
IGx8930-Dec-01 15:49
IGx8930-Dec-01 15:49 
GeneralRe: VC++ 6 enhancement Pin
Nnamdi Onyeyiri31-Dec-01 7:42
Nnamdi Onyeyiri31-Dec-01 7:42 

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.