Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to derive a MFC class from CMenu?? Pin
CPAVG5-Apr-04 4:45
CPAVG5-Apr-04 4:45 
AnswerRe: How to derive a MFC class from CMenu?? Pin
Antony M Kancidrowski5-Apr-04 5:03
Antony M Kancidrowski5-Apr-04 5:03 
GeneralRe: How to derive a MFC class from CMenu?? Pin
CPAVG5-Apr-04 21:30
CPAVG5-Apr-04 21:30 
GeneralRe: How to derive a MFC class from CMenu?? Pin
Antony M Kancidrowski6-Apr-04 0:56
Antony M Kancidrowski6-Apr-04 0:56 
GeneralRe: How to derive a MFC class from CMenu?? Pin
CPAVG7-Apr-04 5:11
CPAVG7-Apr-04 5:11 
GeneralLinking a DLL file to MFC application Pin
chemipoo5-Apr-04 3:47
chemipoo5-Apr-04 3:47 
GeneralRe: Linking a DLL file to MFC application Pin
Antony M Kancidrowski5-Apr-04 4:53
Antony M Kancidrowski5-Apr-04 4:53 
GeneralRe: Linking a DLL file to MFC application Pin
george ivanov5-Apr-04 4:54
george ivanov5-Apr-04 4:54 
Don't use static linking, use dynamic loading of the dll functions like this:


typedef bool (*t_pFunc1)(LPCTSTR Param1, long Param2, bool Param3, ....);
t_pFunc1 m_pfFunc1;

HINSTANCE m_hLibraryInstance;
//Load dll library
m_hLibraryInstance = ::LoadLibrary(_T("Sample.dll"));
//load function
m_pfFunc1 = (t_pFunc1)::GETFUNCADDRESS(m_hLibraryInstance,"Func1");

//Dll call
m_pfFuncDll(param1, param2, param3, ... );



were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?
GeneralRe: Linking a DLL file to MFC application Pin
chemipoo5-Apr-04 5:50
chemipoo5-Apr-04 5:50 
QuestionLoad DLL from other comp? Pin
george ivanov5-Apr-04 3:24
george ivanov5-Apr-04 3:24 
AnswerRe: Load DLL from other comp? Pin
David Crow5-Apr-04 4:42
David Crow5-Apr-04 4:42 
AnswerRe: Load DLL from other comp? Pin
Navin5-Apr-04 9:07
Navin5-Apr-04 9:07 
GeneralVideo Capture Card Pin
Flea Sp995-Apr-04 3:22
Flea Sp995-Apr-04 3:22 
GeneralMachine Idle Time Pin
Anonymous5-Apr-04 3:10
Anonymous5-Apr-04 3:10 
GeneralRe: Machine Idle Time Pin
Michael Dunn5-Apr-04 4:56
sitebuilderMichael Dunn5-Apr-04 4:56 
GeneralRenaming a project Pin
Trollslayer5-Apr-04 2:59
mentorTrollslayer5-Apr-04 2:59 
GeneralRe: Renaming a project Pin
Andrew Walker5-Apr-04 3:17
Andrew Walker5-Apr-04 3:17 
GeneralRe: Renaming a project(EDITED) Pin
John M. Drescher5-Apr-04 5:41
John M. Drescher5-Apr-04 5:41 
GeneralRe: Renaming a project(EDITED BY ME) Pin
Trollslayer5-Apr-04 6:00
mentorTrollslayer5-Apr-04 6:00 
GeneralRe: Renaming a project(EDITED BY ME) Pin
John M. Drescher5-Apr-04 6:14
John M. Drescher5-Apr-04 6:14 
GeneralIPersistStorage::Load() for Embeded object of Word Creates .doc file in Temp Pin
anshumanshinde5-Apr-04 2:47
anshumanshinde5-Apr-04 2:47 
GeneralRe: IPersistStorage::Load() for Embeded object of Word Creates .doc file in Temp Pin
Mike Dimmick5-Apr-04 6:37
Mike Dimmick5-Apr-04 6:37 
Generalread a certain line from a text file Pin
dairiseky5-Apr-04 2:44
dairiseky5-Apr-04 2:44 
GeneralRe: read a certain line from a text file Pin
avenger_sb255-Apr-04 3:42
avenger_sb255-Apr-04 3:42 
GeneralRe: read a certain line from a text file Pin
dairiseky5-Apr-04 4:01
dairiseky5-Apr-04 4:01 

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.