GUID Generator

I love it when I need to whip up a quick application that solve a problem, and I have the time to play with something new. Or in this case, something very old. Recently I needed a tool that can generate GUIDs on the fly for me. Sure, there’s a bunch of online websites filled with ads that can do this, but it sounds like the perfect excuse to write an application to do that for me!

Enter GUID Generator! I wanted to see how minimalistic I could get when creating an application. Turns out, you can get pretty tiny. I wrote the application in C++, using only the Windows API and statically linked the C++ Runtime Library. Final result? No dependencies, and the release executable is less than 100k.

It's shocking how ugly a simple win32 app can look!
Success!

Anywhoo, I threw the code up into Github under an Apache 2.0 license. Feel free to download the project and use it yourself! If you like it, let me know! 🙂

PS: Using the raw Windows API is painful.

%d bloggers like this: