March 3, 2021
Hot Topics:

Visual Basic 6 Win32 API Tutorial

  • By James Limm
  • Send Email »
  • More Articles »

I hope you are beginning to see some of the complexity of using API calls and also how they have gained such a poor reputation. However, I would also hope that you can approach API calls with confidence now that you know how to avoid the pitfalls that lie in wait.

In this chapter we:

  • Saw how many of the data types are communicated between VB and the DLL
  • Used this knowledge to learn how to avoid other problems with calls we haven't seen yet
  • Covered how to handle errors when using API calls in VB
  • Quick overview of some other problems that might occur

We also built the UI for the Encryption application and defined what the encryption algorithm is in readiness for building the real functionality of the application in the next chapter.

In the next three chapters, we'll use calls from the three main Win32 DLLs: kernel32, user32, and gdi32 to begin to examine how we can access some of Windows key programming. We'll also be developing the Encryption program by incorporating calls to these three DLLs to get the program up and running and to spice up the interface.

Page 13 of 13

This article was originally published on November 20, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date