FARPROC이란 무엇인가
by 담배맛구마FARPROC 설명 0 . 정의
windef.h
☆FAR는 뭐지??
The FAR keyword (and its variants such as __far and __near) are no longer supported by 32-bit compilers such as Visual C++ 2005. That was only used by the 16-bit compilers. So when you see that in code you can just delete it or define FAR to be nothing, like this:
[code]
// undefine current FAR macro
#ifdef FAR
#undef FAR
// define FAR to be nothing just to satisfy the compiler
#define FAR
[/code]
FARPROC 설명 1 . MSDN
In C, the FARPROC declaration indicates a callback function that has an unspecified parameter list. In C++, however, the empty parameter list in the declaration indicates that a function has no parameters. This subtle distinction can break careless code. Following is one way to handle this situation:
(http://msdn.microsoft.com/ko-kr/library/windows/desktop/ms633571(v=vs.85).aspx)
FARPROC 설명 2 . Foreign Web Site
FARPROC is just a generic function pointer. Any Windows API function that returns a non-specific function pointer (like GetProcAddress) will return FARPROC.
(http://cboard.cprogramming.com/c-programming/80300-about-farproc*.html)
블로그의 정보
정윤상이다.
담배맛구마