SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Visual Basic Dll and QAP

    Have a dll written in Visual Basic and calling it from QAP.

    dll "C:\Temp\Hello.dll"
    HelloWorld()

    testcase trial()
    HelloWorld()

    HelloWorld() has no inputs or outputs

    Error Message : Function HelloWorld not found in "C:\Temp\Hello.dll"

    First and foremost, does QAP recognize dlls written in Visual Basic??? If it does, what am I doing wrong???

    ------------------

  2. #2
    Junior Member
    Join Date
    Oct 2001
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Visual Basic Dll and QAP

    Instancing in the dll is set to 'Global MultiUse' and the function is exposed...

    ------------------

  3. #3
    Senior Member
    Join Date
    Jun 1999
    Location
    Fremont, CA, USA
    Posts
    355
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Visual Basic Dll and QAP

    Visual Basic DLL's are not exposed as "C" DLL's. Thus, they are not compatable with SilkTest (or WinRunner).

    There are programs that you can get will let you expose your Visual Basic DLL's as "C" DLL's. These programs work - somewhat. I have actually found them to be a major pain.

    There are other programs that will wrap your DLL in a C DLL. I think those might work a little better, but I haven't tried them either.



    ------------------
    David Genrich
    david@e2Open.com
    david_kim@usa.net

  4. #4
    Junior Member
    Join Date
    Oct 2001
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Visual Basic Dll and QAP

    Thanks David. Just the answer I was looking for. Now I can go to on to Visual C and be a happy camper

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:30 AM.

Copyright BetaSoft Inc.