Previously, the handle was uninitialized, and this caused problems. After looking at my code, I realized that is pretty much a useless extra cast. This should reduce code. This function will create a new smb.conf file that has no contents. In reality, all it really does is create a TGlobalSection object for you, because everything else is created when the file is read.
More complete documentation is also on the way.
A new class, TEmptySection , has been introduced. This is a TSection derivative specfically designed to handle the comments before the global section. I figued if it was empty, nothing gets written. Opening comments are certainly not a neccessity in the smb.conf file. Copy construction now available for all classes, so duping a TSambaFile object is now possible.