I had just updated TPCTookit to include some extra features. It will make a swell gift for all the DBpro Programmers out here. Enjoy!
Download link:
http://www.badnose.com/dbpro/TPCToolkit.zip
Descriptions:
TPCToolkit is a set of supporting tools that helps DarkBasic programmer to write TPC DLL more productively. It is basically an extension of TPC framework provided by Ian Mold at Matrix1 software (ian@matrix1.demon.co.uk). I had added a couple of macros to make the type conversions between C/C++ types and TPC types transparent by following the DarkBasic Pro TPC specifications. I had also written a few helper functions to simplify several common tasks, such as return string buffer allocation, assertion, file existence checker, etc.
Aside from all these extensions made to the Ian Mold's TPC framework, I had also created a set of tools that automate certain process in writing TPC. They are,
XML Source Documentation Generator
By using the modified framework, along with some predefined XML tags for source documentation, this program will automatically extract the information describing each function into an XML file. This XML file is the main data source for the two following tools.
String Table Resource Generator
By reading the XML file produced by XMLDocGen, this program will automatically generate the string table resource that is needed when compiling and linking the TPC DLL. It will output the string table resource to a file, and all you need is to copy it from the file, and paste it into the resource file of your TPC DLL.
Automatic HTML Documentation and Functions syntax Listing Generator
This tool will read the XML file generated by XmlDocGen, and extract the inline source code documentation that will automatically produce a HTML help file for your TPC DLL. This will make your TPC DLL more users friendly, as long as you make an effort to comment your source code using the predefined XML tags while writing your TPC DLL. Besides that, this program also generates the functions syntax listing file that is required by the DarkBasic Pro IDE for syntax highlighting.
Third Party Command DLL Stub Generator NEW!!
This tool allows you to generate stub files from a TPC DLL. This enables you to call other Third Party Commands from your TPC DLL. The stub files consist of a C++ header (.h) and source file (.cpp). These files must be included and compiled along with your TPC DLL.
Thomas Cheah (Technical Director)
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/