I wish Silverlight had an option to disable the screensaver when playing video. It's the only reason I never use the Silverlight player on Channel 9. I am glad to see Silverlight 3 has shipped, but I am disappointed to see the option is still not available.
I'd love to be able to use these tools, but unfortunately they cost 10x the price I paid for the Pro SKU just for one of the Team System SKUs. It's 20x the price if I want everything. Not only that, but I'd have to pay 4x-7x the cost every year to keep
using it since I'm not allowed to buy a retail copy. Where exactly is the value? The only thing Team System's pricing model is doing is keeping it limited to large corporations who have extra money to burn. Small companies with people who play multiple
roles and independent devs are still being left out. I do hope your marketing department comes to their senses.
The site looks good. I'm glad the endless stream of redirects for MSDN Subscriber Downloads has finally been fixed.
However, I am still unable to use Subscriber Downloads with Firefox. When I select an item and click "Download," it tries to download an aspx file. Is there any tweaking I can do, or do you guys still insist on me opening IE for this web site?
Thanks. I'm trying your suggestion (Apply /clr to a single cpp file), but I am having some problems. /clr is not compatible with several compiler switches I am using. I turned them off for the cpp file, and now I am receiving compiler errors stating the
source file is not consistent with the pre-compiled header. Do I need to turn off RTC and the other compiler switches I have on project-wide just so I can use /clr in a single source file? Is there a better way to do this?
Re: MFC and WPF...
"Thanks, but I am looking for a way to do this in unmanaged C++. I would love to throw the CLR switch in my MFC apps, but the performance hit is too dramatic. Even the UI performance. Building the code is also much slower."
WPF itself is managed code, so you're going to be in managed-land no matter what. You might try only throwing the /clr switch on those .cpp modules that require access to managed types. Throwing /clr on an entire project that was originally designed to
be native code (e.g., an MFC project) will definitely cause a bad hair day. VC++ also allows you to delay load the CLR by placing your managed code in a separate DLL for which you would LoadLibrary() on demand.
I might also mention that we're working hard to improve the runtime as well as the build performance of mixed native/managed apps. You should see the fruits of some of this labor in the Orcas release.
Thanks, but I am looking for a way to do this in unmanaged C++. I would love to throw the CLR switch in my MFC apps, but the performance hit is too dramatic. Even the UI performance. Building the code is also much slower.
"About native C++ support, do you plan on putting WPF support into MFC? If not, is this exposed through COM or standard C calls?"
For the Visual Studio Orcas release, we are not planning to build new MFC plumbing to connect MFC and WPF. However, WPF is built with HWND-interop in mind, so adding WPF pizzaz to your MFC UI isn't too difficult to do. As an example, check out this demo build
a while back by Nick Kramer:
You mentioned the reason for Visual Studio 2005 compatibility issues was lack of admin privileges. I run as a normal user all the time in XP and I run Visual Studio 2003 and 2005. If I need to modify the system in some way, like install a service, I have to
do it at the command line anyway. I just use runas in those cases.
Are there any issues running Visual Studio 2005 in Vista as a standard user which do not exist in XP?
Also, what kind of issues does Visual Studio 2003 have with Vista?
About native C++ support, do you plan on putting WPF support into MFC? If not, is this exposed through COM or standard C calls?
Does this mean you guys are going back on your decision to hard-code the startup sound? I sure hope so. I still can't believe that idea came up in the first place. Edit: I have another question about the resilience feature. Can third party media players
take advantage of this, and if so, do they have to rely on your codecs? How exactly does this work? Would Winamp or VLC Media Player be able to change their code to enable the resilience, and what pieces would have to change? Is it just a matter of calling
an API on a thread to up the priority, or do you need to change the decoding or drawing code?
You showed how it handles playing during high CPU demands but what about disk or network. Say you're copying tons of files and playing a video. Or your wireless signal isn't strong enough.
And what happens if there simply isn't enough resources on the system to play back the video full speed? Does it skip frames or reduce quality?
Also is there any API to tap into this multimedia scheduling thing. Can I have my game say, I'm a multimedia application please guarantee I run at high frame rates? Or, I require 4 mbps on the disk/network to play back this video.
These are good questions, and I would also like to know the answers to them. Steve, can you comment?