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

is it possible to display a window .without using windowclass

1 Answers   E Logic,


what is the difference between SDI and MDI

15 Answers   CMC, HCL, Siemens,


How to convert the content of buffer into lower case character.

3 Answers   E Logic,


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  






1)At run-time, you can change the icon by calling the LoadIcon() function?

2 Answers  


What is thread & process?

15 Answers   Exaband,


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


how can u change button shape at run time

3 Answers   Samsung,


1)How to change a text of a button as Dynamically?

1 Answers   HCL,


How many types of dialog box are their

10 Answers   Honeywell,


What is the difference between GetMessage and PeekMessage ?

3 Answers  


Categories