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 |
what is functioning of DIalodDataXchange ..?
What is primitive and non-primitive application?
How to convert a CString variable to char* or LPTSTR?
1)how to Display the File Dialog Box, in MFC ?
what message is sent to an application when the user presses the primary button?
What is the difference between the SDI and MDI
What is a message map, and what is the advantage of a message map over virtual functions?
1)dynamic creation of a Button ?
What is the initial function to be called in MFC and what it will do
Name the Synchronization objects?
what is the difference between compiling and building?
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it