SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2001
    Location
    Houston, TX USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dll question ...

    I have the following and I am getting an error when I am trying it out:

    dll "C:\SftTv32U.DLL"
    inprocess int SftTree_GetCount(HWND hwnd)
    dll "C:\SftTree_IX86_U_45.dll"
    inprocess int SftTree_GetCount45(HWND hwnd) alias "int SftTree_GetCount(HWND hwnd)"

    I am calling the function and I am getting an error:

    print(SftTree_GetCount45(hwnd))

    Your help is appreciated.


    ------------------
    SG
    SG

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

    Re: dll question ...

    Not sure on what the problem is, but I did notice a few things.

    1. <LI>What is the inprocess? I didn't find that as a Silk return type.
      <LI>When doing an alias, only the function name is aliased, not the entire prototype




    ------------------
    David Genrich
    david.genrich@e2open.com
    david@linuxpuppy.net

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dll question ...

    David,

    inprocess is an unsupported keyword in SilkTest. If memory serves me right it makes SilkTest hook into the dll which is already loaded into memory (ie the one started by you application) rather than initialising its own copy.

    Paul

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com

 

 

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 03:48 PM.

Copyright BetaSoft Inc.