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

how to prepared for first for the first interview?

2257


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2053


What test cases can you automate using QTP?

1034


Give me some real time point of way where exactly we can conduct audits?

1864


What is smart identification in QTP?

1008


Object repositories types, which and when to use?

1016


Explain about the test fusion report of quicktest professional (qtp)?

936


what is the diff b/w assistive and mandatary rules of object repository in QTP???

2130


Explain types of output values?

963


How to handle the exceptions using the recovery scenario manager in qtp?

980


Where to use Property Let, Property Get, Property Set in UFT

779


describe some problems that u had with automating testing tool?

1753


What is object spy in quicktest professional (qtp)?

903


how to convert 100 into hundred repees only and viceversa

1846


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

1002