I made my first Win32 program using
PowerBASIC.
#COMPILE EXE#DIM ALLFUNCTION PBMAIN() AS LONG MSGBOX "Hello, World!"END FUNCTIONAfter you stop laughing I'll mention this is my first attempt at Win32. I'm much more at home with a terminal/console. It seems so much simpler to just
printf() your feedback to the user rather than creating dialogs.
Anyway, I figure it's high time I did some Win32 programming, and PowerBASIC seemed like a great place to start. I was able to purchase a license using some of my budget up this year with the hopes that I could create a few small programs that would help me out around the building. I was initially going to work with Visual Basic but I have bloatphobia. I can't stand seeing EXE files that are 5MB compiled with VB, then the same program ported to PowerBASIC is less than 1MB and faster to boot.
Anyway, I will be posting laughable bits of PB code here as I slug my way through the Win32 API.
Okay, as promised I will be posting code and thoughts as I teach myself PowerBASIC. After my last bit with the ever popular "Hello, World!" I decided to head to variables.First off, variables are much like those in C. You declare them, then give
Tracked: Feb 22, 15:30