SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get the tool to fit your dll needs - power your SilkTest

    GodKnows,

    Check out Dan Appleman's 'Visual Basic Programmers Guide to the Win32 API', published by SAMS.

    Brian

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

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get the tool to fit your dll needs - power your SilkTest


    Recently I managed to control windows NT/2k's service with the help of advapi32.dll and some VB code exmples.

    I was amazed how similar VB and Silk's synthax are. Conversion is very trivial.

    Today I stumble upon this site http://www.allapi.net/agnet/apiviewer.php
    (just go there and click the download link) which offers two tools, the api guide, and api viewer. The former one offers around 838 api examples(browse mode very clean in different language). The latter tool list the conversion of all the win32/16 apis to vb synthax. Which means it's a step easier to convert to Silk code, because VB doesn't use pointers either.

    Anyhow you might be able to find what you need to do all these hard to do system stuff using the apis.

    Few things to keep in mind when converting.

    - case difference.
    - type declaration difference
    - in vb function returns using FuncationName=ReturnValue to return value.
    - use 'out' to export value using parameters.
    - for hex numbers VB use &H0001, Silk use 0x0001.


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

 

 

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 06:01 PM.

Copyright BetaSoft Inc.