SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Bangalore,Karnataka India
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Query regarding dll

    Hi,

    I have a query regarding the dll. I have created dll by name demo.dll.

    The demo.dll contains two methods void PrintMethod(String Name) and it prints the name
    And int AddMethod(int a,int b) returns the sum of two values.

    In the script file
    [-] dll "demo.dll"
    [ ] void PrintMethod(STRING NAME)
    [ ]
    [ ]
    [-] testcase t1() appstate none
    [ ]
    [ ]
    [ ] string sname="demo"
    [ ]
    [ ] PrintMethod (sname)
    There is no compilation issue. But when I execute the script it throws an error saying “ [ ] *** Error: Function PrintMethod not found in demo.dll”

    What am I doing wrong?

    Any help in this regard is highly appreciated.

    NOTE: This is a .NET dll

    Thanks,
    Raj

  2. #2
    Advanced Member
    Join Date
    Oct 1999
    Location
    Chicago, IL
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Query regarding dll

    I believe SilkTest only supports calling C DLLs, and the functions need to be exported externally to be seen by silk.

  3. #3
    Member
    Join Date
    Sep 2010
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Query regarding dll

    If you are going with pure .NET, consider using Silk4NET or SilkTest Workbench. Silk4NET is probably the better choice.

 

 

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.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 05:51 PM.

Copyright BetaSoft Inc.