A few tips regarding programming with the Windows Api:

  • incorrect type definitions may crash your program
  • interrupting program execution at the wrong time is another good way to crash your app
  • ending the macro without cleanig up may also lead to a crash

This means:

     Save often!

 

Most Api - functions provide a return value. In many cases a return value of '0' indicates, that the function call was unsuccessful. Other times '0' may mean, that there was no error. The return value of a function cannot be safely interpreted without the documentation.

Therefore:

     Install and read the SDK!

 

The 'MSDN Library' for 'Visual Studio 6.0' is not available as D/L, but online at MS at:

     Windows API Index

 

Other helpful sites/links/threads:

as well as most of the cited VB-Links from the main menu.

Go to top