What is LoadLibrary function returns?

Answers were Sorted based on User's Feedback



What is LoadLibrary function returns?..

Answer / suresh

if succeed it returns handle to module. if fails it returns NULL

Is This Answer Correct ?    13 Yes 0 No

What is LoadLibrary function returns?..

Answer / mvs ravi kumar

HMODULE

Is This Answer Correct ?    8 Yes 0 No

What is LoadLibrary function returns?..

Answer / hargeet

HMODULE is returned .

Success : Handle to the module loaded.
NULL : If loading fails

Is This Answer Correct ?    4 Yes 0 No

What is LoadLibrary function returns?..

Answer / kishore kumar naik p

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

What is LoadLibrary function returns?..

Answer / vijaya

HINSTANCE

Is This Answer Correct ?    3 Yes 3 No

What is LoadLibrary function returns?..

Answer / sahadev tarei

Hinstance & Hmodul both

HINSTANCE OB;
HMODULE OBJ;

OB=LoadLibrary(Path)
or
OBJ=LoadLibrary(Path)

Is This Answer Correct ?    1 Yes 4 No

What is LoadLibrary function returns?..

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

Post New Answer

More MFC Interview Questions

What function is used to retrieve the currently selected index in a list box?

2 Answers  


Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 Answers   ABC, HCL, Infosys,


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


Can you explaing the relashionship between document,frame and view ?

2 Answers  


Why Array Index starts from Zero

30 Answers   HCL,






what is the use of Mutex and critical section

2 Answers  


Have you ever used win32 APIs ?

4 Answers   Microsoft,


What is CSingleDocTemplate?

1 Answers  


What is serialization ?which function is responsible for serializing data ?

5 Answers  


What is the range of intensity of RGB

1 Answers  


How to update windows title bar dynamically?

7 Answers   HCL,


What interface must be supported by an ActiveX control?

2 Answers  


Categories