I’m tinkering with a new spin on our auth/launcher application, wanting to make it a little more user friendly. I’d already done a quick mockup with the old Playgate source code, and decided it would be a neat project to dabble my toes in the Windows pool again.
Being a little clueless about exactly what Windows Forms are, I decided to create a C++ Windows Forms project. I love working in Visual Studio, I’ve been a big fan of VS for years now.
So I spent a few minutes setting up my form to my liking and then went to look at the code.
// Launcher.cpp : main project file.
using namespace Launcher;
int main(array ^args)
// Enabling Windows XP visual effects before any controls are created
// Create the main window and run it
This is supposed to be C++?
“array ^args” QUE?
“gcnew Form1()” Dios!
What the hell? Did someone decide that the best interests of good coding were served by ignoring prior conventions for introducing new language adaptations and re-using existing language symbols in new and strange ways?
I mean, what the hell is “^”? That’s traditionally the symbol for Logical XOR. And square brackets are array delimiters.
You couldn’t have used something like SQL’s hints, e.g. /*[SQLThreadAttribute]*/?
Conspiracy nuts are no doubt having a field day with this seeming abandonment of C++. I’m guessing its some form of managed C++, but really its “C#–“. After VS2005 took the ISO standard route instead of ANSI, pushing you to write platform specific versions of the standard library names (like “_open” instead of “open”), this must be giving the conspiracy nut folk a lot of material to play with.
BTW – I realize Windows Forms isn’t actually what I want for this project, but it was interesting to experiment with.