QTP Forums

Full Version: Can I register/use a vbs-VBS .dll with QTP?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi folks!

I have a very handy DLL which I've been using with WinRunner to pull emails from a mail server and extract their contents - totally without using any gui.

My question is: does QTP require it's dlls to be written in vbs? That seems to be all anyone talks about so I just wanted to confirm.

Thanks in advance for your help!
Mark
I misstyped the subject. It should have been "NON-vbs"


(06-17-2009 02:10 AM)myarbro Wrote: [ -> ]Hi folks!

I have a very handy DLL which I've been using with WinRunner to pull emails from a mail server and extract their contents - totally without using any gui.

My question is: does QTP require it's dlls to be written in vbs? That seems to be all anyone talks about so I just wanted to confirm.

Thanks in advance for your help!
Mark
Nopes. It can be written in any of the languages.
(06-17-2009 11:02 AM)Ankur Wrote: [ -> ]Nopes. It can be written in any of the languages.

Thanks! Does anyone have any tips on getting a DLL to work properly? I'm new to QTP and this feature operates very differently than WinRunner.
You can call your .dll by using CreateObject, but make sure that it is COM visible. Also, you cannot create a dll in VBScript.
Reference URL's