SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2004
    Location
    Singapore
    Posts
    96
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Call COM DLL with IDispatch interfaces *DELETED*

    Post deleted by MrJavaGuy

  2. #2
    Member
    Join Date
    May 2004
    Location
    Singapore
    Posts
    96
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Call COM DLL with IDispatch interfaces

    I think I will simplified the question, does TestComplete DLL plug-in supports Interface definition for parameters?

  3. #3
    Senior Member
    Join Date
    May 2004
    Posts
    1,196
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Call COM DLL with IDispatch interfaces

    Hello VAG,

    TestComplete allows passing references to the IDispatch interface to DLL functions. To do this, you need to specify "vt_dispatch" or "vt_byref | vt_dispatch" as a parameter of the DefineProc method. Please find information on peculiarities of working with such functions in the "Calling Functions That Return String Values or Interface References" help topic.

    BTW, why are you trying to use the DLL Access plug-in to work with your COM component? If the component supports the IDispatch interface, a more simple way is to use the CreateObject function to create an instance of the object and call its method as methods of any other scripting object.
    Best regards,
    David - SmartBear Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:24 PM.

Copyright BetaSoft Inc.