Brian Johnson works with BizSpark Startups on the East Coast of the United States. For more information about the BizSpark program you can go to http://bizspark.com.
A number of people have asked about building Win32 applications using the Visual C++ 2005 Express beta. I'll take you through the basic steps here and I'll try to get a more detailed page posted early this week.
Building Win32 applications with express is a three step process:
To install the Platform SDK, visit SDK Update and install the core components of the Platform SDK. Once that's accomplished, open the Visual C++ 2005 Express Edition IDE and open the Options dialog box. Navigate to Projects and Solutions and then Visual C++ Directories and add the following to the top of each the appropriate sections:
Executable Files: C:\Program Files\Microsoft SDK\bin Include Files: C:\Program Files\Microsoft SDK\include Library Files: C:\Program Files\Microsoft SDK\lib
Once all that is done, you just need to take one more step to make the Win32 template work in express. You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and change the string that reads:
AdditionalDependencies="kernel32.lib" to AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
AdditionalDependencies="kernel32.lib"
to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
At this point you should be able to generate a Win32 application from the New Project dialog box. If you have trouble with this, drop me a note at brianjo@microsoft.com and I'll see if I can make that clearer. After I test things out a bit, I'll add some instructions for using the DirectX SDK with express.
Are there language features in Visual C++ that haven’t been implemented yet in the Beta1 release?Yes, some language features that will be included in the final release weren’t implemented in the Beta 1 release. Here’s an approximate list of what you can expect:Added in Beta 1 Managed class and interface definitions (e.g. ref class R { }; )Managed handle (^) and reference (%) syntaxGenericsPropertiesEventsDelegatesNamed and explicit overridespublic and private on native types (e.g. public class C { }; )initonly and literal'abstract', 'sealed', and 'new' on methodssafe_castUnicode surrogate supportImplicit boxingManaged templates (e.g. template<class T> ref class X { }; )Verifiable and pure C++
Managed class and interface definitions (e.g. ref class R { }; )Managed handle (^) and reference (%) syntaxGenericsPropertiesEventsDelegatesNamed and explicit overridespublic and private on native types (e.g. public class C { }; )initonly and literal'abstract', 'sealed', and 'new' on methodssafe_castUnicode surrogate supportImplicit boxingManaged templates (e.g. template<class T> ref class X { }; )Verifiable and pure C++
Visual C++ 2005 Tools Refresh Thanks for using the Visual C++ 2005 Beta. The Visual C++ compiler team has done a lot of work that is not available in the Beta 1 release. The refresh program is for users of the Visual C++ 2005 Beta who want to try out the latest development builds. Normally, builds go through a rigorous review process before being released as a Beta. The builds offered in the Visual C++ Tools Refresh are directly from our daily development branch and thus are not Beta quality. There has been only basic testing on these tools. If this quality level is insufficient to meet your testing needs, we suggest using the default Beta installation, or waiting for the next Visual C++ Tools Refresh.
List of fixes included in Windows XP Service Pack 2 Release notes for Windows XP Service Pack 2 Windows XP Service Pack 2 (SP2) for Developers - Lots of good info here. Changes to Functionality in Microsoft Windows XP Service Pack 2
Stephen Toulouse - Introduction to Microsoft's security response center Stephen Toulouse is a security program manager with Microsoft's security response center. The security response center is the team (and place) that goes into action when a new vulnerability or attack on one of Microsoft's products or customers is found and reported to secure@microsoft.com.
Windows XP Security Guide The Windows XP Security Guide provides recommendations for deploying Windows XP in three distinct environments. The first and most common of these is an enterprise environment that consists of Windows XP running in a Windows 2000 or Microsoft Windows Server™ 2003 domain. The second consists of Windows XP in a high security environment in which security risk mitigation can be implemented at the highest possible level. Finally, guidance is offered for deploying Windows XP in a stand-alone or unmanaged environment. Information is also provided about the numerous new security options that are available in Windows XP Service Pack 2 (SP2).
MSDN Webcast: Essentials of Application Security (Part 1) - Secure Communications - Level: 300Monday, August 02,200411:00 AM - 12:00 PM Pacific TimeMSDN Webcast: How Hackers Hack - Level: 200Friday, August 06, 20049:00 AM - 10:30 AM Pacific Time
Just FYI: Georgeo Pulikkathara from the Webcast team has a blog and they've built an RSS feed for these events. This week, I'll work with Mark to create a Web part on the Security Developer Center to list these dynamically.
Update: I took this off the security feed. The webcast archives should be available soon.
Windows XP users: Get Service Pack 2 todayYour first step to help protect your computer is to install this new security update to Windows XP.
Fix Released for Windows XP Security FlawsMicrosoft rolls out its biggest and most comprehensive security fix for Windows XP. The company says the patch will make it tougher for hackers to break in.
Update: I added a better link with more options for getting the service pack.
Ask the Experts Online: 64-bit Driver DevelopmentExperts from Microsoft's Core Windows team will be available to answer questions related to the coding and debugging of 64-bit drivers, including both x64 and IA-64 platforms. This is an opportunity to get guidance on the differences between 32-bit and 64-bit driver development.
You can add this to your Outlook Calendar here.
Update: Since this has passed I took it off the C++ feed so it will no longer show up in the Visual C++ Developer Center.
Windows XP Service Pack 2 Join Microsoft Experts in an online chat to discuss Microsoft Windows XP Service Pack 2 (SP2). Learn what you need to know about deploying SP2 for Windows XP Home Edition and Windows XP Professional.