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 |
If application hangs while SendMessage is waiting for the result, how you handle it?
Given two processes, how can they share memory?
what is message loop how mfc does it internally?
What is the command routing in MFC framework?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
What is the use of OninitDialog ?
What is a critical section and how is it implemented?
visual Pogramming c++ coding for create a paint application.. (Please someone help me)
What is the difference between GetMessage and PeekMessage ?
1)How to create ToolTip in MFC?
How can i implement the dynamic menus in MFC plz give the code
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?