@Da_Rhyno - Open up DBPro and go to the Help-Dark Basic Professional Help. On the main help screen, scroll down and go into Technical Documents. And now select Third Party Commands.
The most important part of creating a DLL for DBP is the string table which is explained all in that document.
You can either manually create the resource.rc and resource.h yourself or use resedit to do that for you.
I've been looking into Code::Blocks these last couple of days myself mainly to get wxWidgets working with PureGDK but I did notice the DLL setup. It does all the standard setup as with Visual C++ but still you have to add the resource files yourself.
Throughout this forum there are quite a few helpful pointers which I had picked up along the way but now I just stick to the DBP docs if my mind goes blank.
Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!