How can the functions inside DLL be called from QTP?
i mean How can i use those functions(Inside DLL) in QTP
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 |
what is mean by output parameters? I need full description with example. tell me any one please
What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.
Did u use check points during ur work experience ?
How to make arguments optional in a function?
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
What is difference between Class and MicClass
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
How can I replace all the text from the QTP script with some other text.
what are the difference between qtp8.2 to 9.0 surya
For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?
what is the difference between modular framework & datadriven framework
Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.
5 Answers Lehman Brothers, rsystems,