Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can the functions inside DLL be called from QTP?
i mean How can i use those functions(Inside DLL) in QTP



How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DL..

Answer / jay prakash

This part is a two step process…

Declare the method using Extern.Declare
Example
Extern.Declare
micHwnd, “FindWindow”, “user32.dll”, “FindSomeWindow”,
micString, micString

Here:
micHwnd -the data type of value returned by method
FindWindow -the user supplied procedure name. You can set
it to anything as long as it’s a valid syntax.
user32.dll -the DLL from where you wish to call the method
FindWindowA -The actual method name inside the DLL
Last two are the data types of the arguments that will be
passed to the procedure

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More QTP Interview Questions

how will you load the test cases in ddt?

0 Answers  


How can i initiate the objects to find uniquely in OR

0 Answers   IBM, Livetek,


Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!

3 Answers  


How you can find length of array in qtp?

0 Answers  


In qtp,how to interact tool & application build?

1 Answers   Polaris,


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


Which statement will use for close an action in QTP?

0 Answers  


How to handle the exceptions using recovery secnario manager in quicktest professional?

0 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

4 Answers  


How to load an object to a object repository at RUN TIME ?

3 Answers  


what is the difference between Automation object model(AOM) and test object model(TOM)

2 Answers   UHG,


How does QTP identifies the object in the application?

1 Answers   Crea,


Categories