Micro Focus QTP (UFT) Forums
Can I register/use a vbs-VBS .dll with QTP? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Can I register/use a vbs-VBS .dll with QTP? (/Thread-Can-I-register-use-a-vbs-VBS-dll-with-QTP)



Can I register/use a vbs-VBS .dll with QTP? - myarbro - 06-17-2009

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"


RE: Can I register/use a vbs-VBS .dll with QTP? - Ankur - 06-17-2009

Nopes. It can be written in any of the languages.


RE: Can I register/use a vbs-VBS .dll with QTP? - myarbro - 06-17-2009

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.


RE: Can I register/use a vbs-VBS .dll with QTP? - Anshoo Arora - 07-01-2009

You can call your .dll by using CreateObject, but make sure that it is COM visible. Also, you cannot create a dll in VBScript.