NOTE: This document refers to development in Visual Basic 6.0. For information regarding WinDriver's support for Visual Basic .NET, refer to Technical Document #128. The entire WinDriver API can be used from within a Visual Basic (VB) 6.0 application. To enable this, WinDriver includes VB implementations of WinDriver APIs, found in the windrvr.bas and wd_utils.bas files (previously windrvr.cls and wd_utils.cls) in the WinDriver\vb\include directory; and the wdapi DLL — WinDriver\redist\wdapi<version>.dll (e.g., wdapi10.2.0.dll — for v10.2.0 of WinDriver), which provides APIs that can be used from a VB application. (Note: This DLL was previously named wd_utils.dll and before that wd_vb.dll).
The wdapi DLL is implemented in C. For most of the APIs there is a single implementation that can be used from both a C and a VB application. However, some of the WinDriver functions, mainly those that are executed from a separate thread (e.g., InterruptEnable(), EventRegister(), WDU_Init()), require a specific implementation for VB. The VB prototypes of these functions usually contain an extra parameter — hWnd — that is designed to hold a handle to the form window related to the function call. |
(WinDriver related)
Documents Navigator:
WinDriver: Support Center
WinDriver: Product Page
Can't find what you need?