.... Ok.
Well I'm back to using Borland C++ builder and I've learned a lot since my earlier post. I still don't know why Dev C++ crashes my system.
This may sound dumb but I didn't know how to include libraries when compiling which was my main reason for wanting to get away from using the Borland command line tools. In a Dev C++ project all the details of building the project would be handled for me after I set the needed options. I'm self taught and while I have seen explanations of how to compile source files oddly enough I have never seen an example of a .lib file being included. Borland's help files make plenty of sense to me NOW, after I figured out the answers to many of my questions by trial and error, but the help file is not that usefull if you are starting from scratch.
After I found out how to include a library I tried to compile the simple DirectX source from a book that I have. Of course it didn't work:
ERROR: '...d3d9.lib' contains invalid OMF record, type 0x21
(possibly COFF)
Fantastic. :(
Fortunately I was able to get info on this error by googling it and after reading quite a bit about implib.exe and coff2omf.exe. I was very fortunate to stumble accross a post on a different forum where someone posted:
<paraphrase>Don't bother, the lib's won't import correctly with newer DirectX sdk. Goto
http://clootie.narod.ru/cbuilder/index.html#D3D_SDKs
and download these modified DX libraries and they will work with Borland.</paraphrase>
So I downloaded the zip file... and it worked!
I also learned some about using make (Again after much trial and error and attempts at deciphering the plethora of complicated examples with multitudes of options in the help file.) After much experimentation I now have a usable make file that builds my "project" and can be easily updated when I need to add more source files or libraries.
I'm still using the Dev C++ IDE because it is really nice, better than the VIDE that I was using. Dev still crashes sometimes but mainly when I use the class browser. Hope they improve it soon. It's a cool feature.