The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Back then MIcrosoft knew they had to explain it or no one else would.
Now, everyone thinks, "I don't need to do no 'splainin cuz it already been done somewheres else on the Internet prolly. So no one really explains. Oh, that 2nd param no one explains what it is.
I liked MFC. OOP wrappers around API. Nice and clean.
But I was a newbie in 1995-8 and OOP was rising and I jumped on the New Thing Boat and this was my anchor.
But, alas, MFC went away for the most part...was ignored when C# came out and all that learning...down the drain. MFC was a weird sidebar but I still liked it.
I never liked MFC, it always struck me as over complicated, especially those ridiculous macros just to generate a simple jump table. Probably because of my machine code and assembler background, I much preferred the Win32 API.
I never liked MFC, it always struck me as over complicated, especially those ridiculous macros just to generate a simple jump table. Probably because of my machine code and assembler background, I much preferred the Win32 API
Yeah, I remember my mentor at the time felt the same way.
I think the thing I liked about it at the time was the distance I got from the Windows Message loop.
It was wrapped up nicely in MFC template project.
Of course in the original WinAPI you had to handle it all yourself.
MFC was kind of like the jump to C# way before C#. But it wasn't as nice as C#, of course.
Yeah, it's amazing that VSTudio still even supports MFC. It's too bad it didn't take off like C#. I liked it better because it was more esoteric. Seemed more like hidden knowledge you had to go into the cave and explore for. Then along came C# and brought everything out into the light and everyone was dragging and dropping and developing.
I think C# is an abomination of a language and can't stand it. Only managed C++ is worse - that is horrific. I remember vividly the marketing when it (C#) and .Net was introduced. It was touted as essentially existing because c++ is "too difficult" and that is total nonsense. It seems to me this attitude has extended itself to the "everyone can program" movement. My view on that is maybe so, but it is painfully obvious that not everyone should.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"