The COM Course - Part 2
And now, it's time to compile your class program.
When you do this, all the classes in your ActiveX project will magically turn into one .DLL file. After this, most tools on your computer will be able to see and use them. So after compiling, you'll be able to use your DLL from within VB, Excel or even C++!
So let's compile it:
- Click 'File', 'Make Northwind.dll'
- Choose a location then click 'OK'
And would you believe... that's it! You've just created and 'registered' your first real COM component!
Page 6 of 9
This article was originally published on November 20, 2002