John Bocharov and Hank Janssen: Introduction to SQL Server Driver for PHP (SQLPHP)

The VC++ team has made a
committment to innovating, in a native context, both the C++ language and associated libraries. The focus of the group is squarely on making VC++ a great language for
native Windows development. In Visual Studio 2008, C++ developers will get a MFC library that contains twice the functionality of previous versions.
Here, we meet Pat Brenner. Pat is a Senior SDE on the VC++ libraries team and has implemented many of the improvements to MFC in VS 2008. He's also been at Microsoft for quite some time: 19.5 years!
Tune in and learn about some of the exciting new features of MFC 2008.
Check out
Soma's blog for his perspective on this (Soma runs the developer division)
Just has we are thinking of moving our MFC app to C#
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
Expand C# capabilities, and get rid of P/invoke and replace it with a new kind of mechanism to call dlls outside the .NET framework.
Finally, make the .NET framework really .NET, in the sense that it is distributed in terms of processing power, by enabling sharing. So that my application could use the processor that is Idle in a second room in the the house, automatically through the use of Remoting in LAN.
Kill C++, and lets all be on one page, with C#.
Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates.
That is all.
PS: some might say, there are programmers outthere who enjoy dealing with buffer overflows, and the pains of C++, and to them I say stick with Visual Studio 6 C++ IDE. and that is that.
Because your operating system is built using it.
SecretSoftware wrote:
Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
Expand C# capabilities, and get rid of P/invoke and replace it with a new kind of mechanism to call dlls outside the .NET framework.
Finally, make the .NET framework really .NET, in the sense that it is distributed in terms of processing power, by enabling sharing. So that my application could use the processor that is Idle in a second room in the the house, automatically through the use of Remoting in LAN.
Kill C++, and lets all be on one page, with C#.
Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates.
That is all.
PS: some might say, there are programmers outthere who enjoy dealing with buffer overflows, and the pains of C++, and to them I say stick with Visual Studio 6 C++ IDE. and that is that.
John Melville, MD wrote:
SecretSoftware wrote:
Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
I'm hoping I just missed the sarcasm in that comment.
Even if we assume, as you seem to, that C++ is an obsolete and uselss language then there are still billions of lines of C++ code out there that work and do the job they were designed, and purchased, to do. There is absolutely no chance that all of that investmen is just going to vanish any time in the next several decades. C++ will be with us through the remainder of any of our careers and well beyond.
Since someone will be maintaining C++ code for the next 3 decades at least, Microsoft has, wisely, decided to make more money by selling modern tools to those developers.
PS: I still find C++ to be pretty useful in some circumstance. I'm just ingroning that for this post.
figuerres wrote:
SecretSoftware wrote:
Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
Expand C# capabilities, and get rid of P/invoke and replace it with a new kind of mechanism to call dlls outside the .NET framework.
Finally, make the .NET framework really .NET, in the sense that it is distributed in terms of processing power, by enabling sharing. So that my application could use the processor that is Idle in a second room in the the house, automatically through the use of Remoting in LAN.
Kill C++, and lets all be on one page, with C#.
Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates.
That is all.
PS: some might say, there are programmers outthere who enjoy dealing with buffer overflows, and the pains of C++, and to them I say stick with Visual Studio 6 C++ IDE. and that is that.
WOW....
please do some resarch in to the topic.
like C and C++ are ANSI standards for a start, not owned by Microsoft or any other company.
and MSFT has provided new C Runtime libraries to help with buffer and memory problems.
and so on...
SecretSoftware wrote:
figuerres wrote:
SecretSoftware wrote:
Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
Expand C# capabilities, and get rid of P/invoke and replace it with a new kind of mechanism to call dlls outside the .NET framework.
Finally, make the .NET framework really .NET, in the sense that it is distributed in terms of processing power, by enabling sharing. So that my application could use the processor that is Idle in a second room in the the house, automatically through the use of Remoting in LAN.
Kill C++, and lets all be on one page, with C#.
Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates.
That is all.
PS: some might say, there are programmers outthere who enjoy dealing with buffer overflows, and the pains of C++, and to them I say stick with Visual Studio 6 C++ IDE. and that is that.
WOW....
please do some resarch in to the topic.
like C and C++ are ANSI standards for a start, not owned by Microsoft or any other company.
and MSFT has provided new C Runtime libraries to help with buffer and memory problems.
and so on...
they can stop supporting it in future VS builds.
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
Expand C# capabilities, and get rid of P/invoke and replace it with a new kind of mechanism to call dlls outside the .NET framework.
Finally, make the .NET framework really .NET, in the sense that it is distributed in terms of processing power, by enabling sharing. So that my application could use the processor that is Idle in a second room in the the house, automatically through the use of Remoting in LAN.
Kill C++, and lets all be on one page, with C#.
Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates.
That is all.
PS: some might say, there are programmers outthere who enjoy dealing with buffer overflows, and the pains of C++, and to them I say stick with Visual Studio 6 C++ IDE. and that is that.
Why are you even responding to SecretSoftware's comment...
Anyways, it is kind of sad that these controls are quite a bit richer than what we get in the WPF world
Thanks for the vid.
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
The only + point for C++ is that it compiles into machine code directly, and if we can get C# to do that, then there is no need for a language like C++.
I was wondering why C++ still exists when C# is that good of a language.
MS, why not retire C++, and just focus on C# and Vb.NET and F#?
mwirth wrote:Because your operating system is built using it.
SecretSoftware wrote:
Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
I like the improvements that have been done to MFC.
What really would be cool for us, developers, is to make the library available under an open/shared source license for all VC developers.
I am currently working with the open WTL library and I believe that it really makes a difference from a developers point of view if you have the source code of the libraries available that you are using all the time. It makes debugging, understanding (and possibly
extending) the library easier and more efficient.
Viktor Krammer
An interesting detail not covered in the video:
BCGSoft Co Ltd today announced that Microsoft Corporation has integrated our BCGControlBar Professional Edition technology in the next version of the Microsoft Foundation Classes (MFC) library.
The significant parts of the BCGControlBar Pro classes -- such as visual managers, docking panes, fully-customizable toolbars/menus and Office 2007-style ribbon bars -- were merged with existing MFC classes to enable developers to create a modern, up-to-date
user interface with just a few lines of code.
-- http://www.bcgsoft.com/pressreleases/PR071110.pdf
For those not planning to move to VS08 anytime soon, how can we have access to these cool libraries?
Would be nice to c the lib. or a small version of them out there!!!
shortcutz wrote:For those not planning to move to VS08 anytime soon, how can we have access to these cool libraries?
Would be nice to c the lib. or a small version of them out there!!!
shortcutz wrote:For those not planning to move to VS08 anytime soon, how can we have access to these cool libraries? Would be nice to c the lib. or a small version of them out there!
SecretSoftware wrote:Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET.
SecretSoftware wrote:
I Yearn for the day when Visual Studio will not have C++ in it anymore.
SecretSoftware wrote:
OSes will be using managed code in the future.
SecretSoftware wrote:
Games too.
SecretSoftware wrote:
So lets just slowly get rid of C++ and focus on C#.
SecretSoftware wrote:
C# is the future, and C++ brings back bad memories , of sleepless nights.
SecretSoftware wrote:
Customers who still use C++ should upgrade to C#. And that is that.
SecretSoftware wrote:
Any one who likes C++ should just stay with VS 6. or previous builds of vs.
Boomport wrote:The whole point of .NET is choosing the language of your choice. I use C++ as little as possible, but I don't want them taking away C#, or VB.NET. I'm sure the C++ guys feel the same.
"Why does C++ even exist? Why does MS keeps maintaining such a language that caused so many buffer overflows, and generally was not as secure as C# or Vb.NET."
Typical of so many newer programmers, they blame the product for their own shortcomings or ignorance. c++ allows one write as good or bad code as you want.
"I was wondering why C++ still exists when C# is that good of a language. MS, why not retire C++, and just focus on C# and Vb.NET and F#?"
Because there is to much production code out there worth billions of dollars. Most notably WINDOWS!!!
"Its confusing many people, and things needs to be simpler, with few languages. C# for experts, VB.NET for beginners and intermediates. "
C# an expert language? As someone mentioned try writing a device driver in c#.
When Microsoft bets the farm on .NET i.e Windows, Office, Exchange Server then it is a viable commercial environment.
Thanks for updating MFC. We are using MFC/C++ for more than 10 years and rely on C++/CLI to interop our current code to .Net. So thanks again and anicipating more enhacement of MFC in future!
-Hardik Shah
Windows, Office, Visual Studio, GMail, Google, WordWeb, Skype, SQL Server, Photoshop, AutoCAD...just a list of the most dependable apps I have installed on my machine (the ones which do not crash easily). Where is the .NET?
I think Stroustrup said it best "C++ is designed for non trivial code". If you want cookie cutter “Fischer Price” programming then its best you stick to managed code like C# and Java. Anyone doing hard core real time or system level programming should know C, C++, and Assembly. Perhaps people should educate themselves before spewing nonsense.
There's a sucker born every millisecond!! Perhaps we only need one model of car and one model of hammer and one choice on the menu and one church and one place to hide the uneducated.