Can anyone tell me where I can find information about making DLL's in C++ for use in VB (through the Declare statements)?

Also, if anyone wants to post sample code for a C++ DLL, that would be good, too.