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 the use of CCmdTarget?
How can update edit control data of an executing application from other application?
Does the application have more than one object? If no, then what is the reason?
How can we create thread in MFC framework?
What types of threads are supported by MFC framework?
What are the special requirements for dialog box resources used in a form view?
What is document-view architecture ? Give me one real time example for SDI ?
What is the base class for MFC Framework ?
What is mfc class hierarchy?
What is serialization ?which function is responsible for serializing data ?
List out the basic features of MFC.
If i derive a new class from CObject what are the basic features my derived wil get ?