Skip to main content

You know you are... esoteric areas of an application/operating system/etc. when you go to use an API that has no documentation on it. Cutting-edge stuff that is bound to change and keep life interesting. Not that I really care in this particular case, but I needed some information from a DLL. In this case, the API was documented but whoever wrote it did a bad job. Read: Incorrectly documented and I had to hash my way through multiple debugging sessions to figure it out.

Ironically, Google searches for sample source code turned up only VB examples. No C/C++ examples. My C++ version is about 1/10 the length of the VB versions.

Oh, and I wrote a program today that helps me write quickie little throwaway projects. Visual Studio along with the other IDEs I use takes forever to set up for cheesy projects. So now I've got a nifty little utility that I can just copy and paste some files, run the utility, and I have a new console project set up. Cuts out about 15 minutes of work (I like to drag in my primary coding library into even cheesy apps., which takes a while to set up properly).

That would be an interesting feature for various IDEs: Template projects. It takes an existing solution that you know works and then lets you edit the files to turn them into generic templates. What I call 'at directives' could be used (similar to MyProBB's template) to manage template substitution options. Then, when you want to create a new quick application, you can select the template and it creates everything needed for the new application...including properly named files. Files I want to rename upon running my utility, I named 'main.*' and I renamed them using the current directory. Everyone writes cheesy apps. Not very often and usually for testing purposes and usually console-based, but I don't see why such a feature couldn't be used for GUI apps. too. Visual Studio has wizards and they have their place but it forces Microsoft's style onto your style. Cleaning up their coding style issues to better match mine is a pain. My utility is pretty lame compared to this idea.