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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2786


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1346


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1820


How does qtp identify objects in the application?

1085


Is the qtp course will help to create a virtual object?

1906


Define object spy ?

977


How we can import data from database?

1165


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1733


can test automation improve test effectiveness?

1928


In qtp, explain what is qrs file?

1023


How to find the name of the machine where you are running your automation scripts in qtp?

963


how will you load the test cases in ddt?

2024


How does qtp identify gui object?

961


Is it possible to change the property value at runtime? How it is possible?

977


How to handle Java tree in QTP?

1274