Click here to Skip to main content
15,890,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPerformance issues - kind of big message - shoot me later... Pin
73Zeppelin24-Jan-03 13:09
73Zeppelin24-Jan-03 13:09 
GeneralRe: Performance issues - kind of big message - shoot me later... Pin
Shog924-Jan-03 13:26
sitebuilderShog924-Jan-03 13:26 
GeneralRe: Performance issues - kind of big message - shoot me later... Pin
73Zeppelin24-Jan-03 13:43
73Zeppelin24-Jan-03 13:43 
GeneralRe: Performance issues - kind of big message - shoot me later... Pin
Shog924-Jan-03 13:45
sitebuilderShog924-Jan-03 13:45 
QuestionDynamic loading Kernel32.dll for backwards compatibility? Pin
Nathan Brown24-Jan-03 12:53
Nathan Brown24-Jan-03 12:53 
AnswerRe: Dynamic loading Kernel32.dll for backwards compatibility? Pin
Tim Smith24-Jan-03 15:35
Tim Smith24-Jan-03 15:35 
GeneralRe: Dynamic loading Kernel32.dll for backwards compatibility? Pin
Nathan Brown24-Jan-03 18:36
Nathan Brown24-Jan-03 18:36 
GeneralRe: Dynamic loading Kernel32.dll for backwards compatibility? Pin
Michael Dunn24-Jan-03 20:33
sitebuilderMichael Dunn24-Jan-03 20:33 
Look up the API in MSDN and copy its prototype into your code (adding the WINAPI calling convention). So for CopyFileEx() you'd do:
typedef BOOL (WINAPI* PFN_COPYFILEEX)(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
PFN_COPYFILEEX pfnCopyFileEx;
 
  (FARPROC&) pfnCopyFileEx = GetProcAddress ( hinst, "CopyFileExA" );
The parameter list is copied straight off the MSDN page. (I think I have the typedef right, I always forget on which side of the * the calling convention goes.)

--Mike--
I'm bored... Episode I bored.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm

GeneralRe: Dynamic loading Kernel32.dll for backwards compatibility? Pin
Nathan Brown27-Jan-03 17:03
Nathan Brown27-Jan-03 17:03 
Generalmapfile&release&DLL Pin
georgi_tg24-Jan-03 12:09
georgi_tg24-Jan-03 12:09 
QuestionCListCtrl read-only but enabled? Pin
berndg24-Jan-03 12:04
berndg24-Jan-03 12:04 
GeneralCBN_DBLCLICK - severe confusion. Please help!!!!! Pin
ns24-Jan-03 11:09
ns24-Jan-03 11:09 
GeneralRe: CBN_DBLCLICK - severe confusion. Please help!!!!! Pin
PJ Arends24-Jan-03 12:31
professionalPJ Arends24-Jan-03 12:31 
GeneralThat helped!. One final question Pin
nss24-Jan-03 13:47
nss24-Jan-03 13:47 
GeneralRe: That helped!. One final question Pin
PJ Arends24-Jan-03 15:07
professionalPJ Arends24-Jan-03 15:07 
GeneralRe: That helped!. One final question Pin
nss25-Jan-03 4:47
nss25-Jan-03 4:47 
GeneralGetting a combobox to do some stuff Pin
ns24-Jan-03 10:34
ns24-Jan-03 10:34 
GeneralRe: Getting a combobox to do some stuff Pin
Stefan Pedersen24-Jan-03 12:47
Stefan Pedersen24-Jan-03 12:47 
GeneralRe: Getting a combobox to do some stuff Pin
georgiek5024-Jan-03 17:03
georgiek5024-Jan-03 17:03 
GeneralWindows stops drawing my subclassed controls Pin
jimNLX24-Jan-03 10:28
jimNLX24-Jan-03 10:28 
GeneralRe: Windows stops drawing my subclassed controls Pin
Neville Franks24-Jan-03 10:49
Neville Franks24-Jan-03 10:49 
GeneralRe: Windows stops drawing my subclassed controls Pin
jimNLX24-Jan-03 11:51
jimNLX24-Jan-03 11:51 
GeneralRe: Windows stops drawing my subclassed controls Pin
Neville Franks24-Jan-03 12:31
Neville Franks24-Jan-03 12:31 
GeneralRe: Windows stops drawing my subclassed controls Pin
Gary R. Wheeler25-Jan-03 3:09
Gary R. Wheeler25-Jan-03 3:09 
GeneralRe: Windows stops drawing my subclassed controls Pin
jimNLX25-Jan-03 12:32
jimNLX25-Jan-03 12:32 

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.