what is the diffrence between these six functions?
LoadLibrary
LoadLibraryA
LoadLibraryEx
LoadLibraryExA
LoadLibraryExW
LoadLibraryW
what is the meaning of each suffix in the winapi and what is the difference between all of those functions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
LoadLibraryandLoadLibraryExare macros which are defined depending on whether your project is compiled with unicode support. If so, they point toLoadLibraryWandLoadLibraryExW, otherwise they point toLoadLibraryAandLoadLibraryExA.Typically, you are expected to write code using versions without A or W in the end and let compiler definitions make all the magic for you.
The
Exsuffix is a standard way of denoting an “EXtended” function: one that is similar to the regular version, but provides additional functionality. Generally, they were added in a newer version of Windows and may not always be available (although most of them are so old now that they were added back in Windows 3.1 or 95).The exact difference between functions, as mentioned before, should always be checked on MSDN.