DOC: GetProcAddress Does Not Support Ordinal Symbols
Article ID: 149515
Article Last Modified on 10/16/2002
APPLIES TO
- Microsoft Visual C++ 4.0 Cross Development Edition for Macintosh
This article was previously published under Q149515
SUMMARY
GetProcAddress() returns NULL when passing a valid ordinal value for a
DLL's exported function. The Macintosh Windows Portability Layer
implementation of GetProcAddress() does not support obtaining exported
function addresses by the function's ordinal value.
MORE INFORMATION
DLLs on the Macintosh are implemented using Code Fragment Libraries (CFM)
on Power Macintoshes. Apple's implementation of CFMs only allows symbols to
be exported by name. Therefore, you must use the exported function name to
obtain the function address.
Additional query words: 4.00 WLM CFM DLL ASLM AFXDLL mac vcmac
Keywords: kbbug kbdocfix kbdocerr KB149515