DBPro only includes the DLLs that it knows it needs when you compile. So it includes DLLs that you use commands from, and DLLs that it is told to load by other DLLs - you can do this too.
Here's an example from the last addition to my plug-in collection - it allows you to load a DBO object from a memory bank (another one of my plug-ins), so it relies on that, plus the Basic3D plug-in:
EXPORT int GetNumDependencies( void )
{
return 2;
}
EXPORT char const* GetDependencyID(int ID)
{
switch(ID)
{
case 0: return "DBProBasic3DDebug.dll";
case 1: return "Matrix1Util_01.dll";
default: return 0;
}
}
The first function returns the number of DLLs that are required, and the second returns the names of those DLLs in turn when called.