SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need full path to work with user defined dll\'s...WHY...

    Hi All,
    I thought to get experts opinion.
    I have a dll which is created one of our developers to get install codes for our Product.
    My automation is located in c:\automation folder. I have kept the dll's also in the same folder. As usual, I have set the "Use Path" in Run Time Options Window to the folder as C:\Automation.
    When I tried to work with dll I got an error "126...unable to load dll".

    After that I changed the dll declaration in my include file as dll "C:\Automation\Wrapper.dll". Now it worked. This was not the problem while working with OS's dll's such as user.dll,kernel.dll,advapi32.dll's. Any Idea..
    Thanks,
    Murali

    ------------------
    Murali K Parepalli
    Intuit
    _ _ ___________ _ _
    Murali K Parepalli

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: need full path to work with user defined dll\'s...WHY...

    Hi Murali :-)

    I think that the "Use Path" only specifies when the SilkTest compiler looks for SilkTest ".t" and ".inc" files when you use SilkTest's "use" statement.

    The "dll" statement probably searches the same path that Windows searches when you start a program -- that would not include your special directory -- UNLESS you add to the PATH variable in your "System" control panel.

    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  3. #3
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: need full path to work with user defined dll\'s...WHY...

    You can place your .dll in a directory included in your environment path such as ..\system32 directory or what I do is append to my environment path in ScriptEnter using the SYS_GetEnv() and SYS_SetEnv() methods.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

 

 

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 10:53 PM.

Copyright BetaSoft Inc.