What is LoadLibrary function returns?
Answers were Sorted based on User's Feedback
Answer / suresh
if succeed it returns handle to module. if fails it returns NULL
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / hargeet
HMODULE is returned .
Success : Handle to the module loaded.
NULL : If loading fails
| Is This Answer Correct ? | 4 Yes | 0 No |
HINSTANCE and HMODULE both are same. Because it is declared
as follows in windef.h
typedef HINSTANCE HMODULE;
NULL Indicates failure, otherwise a handle to the module.
| Is This Answer Correct ? | 1 Yes | 0 No |
Hinstance & Hmodul both
HINSTANCE OB;
HMODULE OBJ;
OB=LoadLibrary(Path)
or
OBJ=LoadLibrary(Path)
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / somil vijay
It resturn HINSTANCE(to the dll) if succesful in loading
the dll else return NULL.
| Is This Answer Correct ? | 0 Yes | 4 No |
How to handle dynamic menus in MFC?
Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer
what is the use of CCmdTarget?
How many types of dialog box are their
What is thread & process?
What?s the difference between Modal and Modeless Dialog?
What is CArchive class dowes?
What is the difference between Extension DLL and Regular DLL?
What are the types of button controls?
What function is used to disable a control at runtime?
Why not virtual functions to handle messages?
Why Array Index starts from Zero