| || |
Usage of Reserved Objetcs
I have created VB dll using winAPI.I just want to make use of the functions that are available in dll using QTP.I have done the following procedure.
I have created a new key&string(progID) in registry under reserved objects of Mercury.
When I use that key in QTP the functions are not exposed.
Re: Usage of Reserved Objetcs
First of all try to create your object with CreateObject function. For example:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Set myObj = CreateObject("MyObj.ProgId"
myObj.MyFunction</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">If it doesn't work then something is wrong with your VB dll.
If it works then check the registry path. It should be
[HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\ReservedObjects\YourObject]