| || |
Coding Windows API\'s
I need to start making calls to Windows API's in my testing. What is the best source for API's most useful to QA? What is the format for an API call?
-Mark Curtiss, CSTE
Re: Coding Windows API\'s
Take a look at %WR_INSTALL_DIR%\lib\win32api compiled module which has some useful calls.
The MSDN(http://msdn.microsoft.com/default.asp) offers extremely detailed technical information on various APIs.
I find that its actually quite hard to get an overview of all calls liable to help in performing a given task.
Most often I search the Usenet archives (http://groups.google.com) relating to C++, VB programming etc to find out what API calls developers use to perform a given task and then try to 'translate' into a TSL call (can be tricky sometimes).
Take a look at the WR User's Guide section - Programming with TSL/Calling Functions from External Libraries which shows how to load dlls, declare/call functions.
Hope this helps,