blogs.msdn.com/brianjo

Brian Johnson's Startup Developer Blog

August, 2004

Posts
  • blogs.msdn.com/brianjo

    Building Win32 Applications Using Visual C++ 2005 Express

    • 15 Comments

    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:

    1. Install the Platform SDK
    2. Set the paths for the bin, include, and lib folders.
    3. Add a few options to the linker dependencies in the corewin_express.vsprops file.

    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"

    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.

  • blogs.msdn.com/brianjo

    Visual C++ FAQ Updated

    • 7 Comments
    We've updated the Visual C++ FAQ with a question and answer about what Visual C++ 2005 features have been implemented in the Visual Studio 2005 Beta Release and what you can look forward to in the final release.
    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 (%) syntax
    Generics
    Properties
    Events
    Delegates
    Named and explicit overrides
    public and private on native types (e.g. public class C { }; )
    initonly and literal
    'abstract', 'sealed', and 'new' on methods
    safe_cast
    Unicode surrogate support
    Implicit boxing
    Managed templates (e.g. template<class T> ref class X { }; )
    Verifiable and pure C++
    Refer to the entire Q/A for more information about what's planned for the release.
  • blogs.msdn.com/brianjo

    Visual C++ 2005 Tools Refresh Available

    • 2 Comments
    Today we posted the Visual C++ 2005 Tools Refresh for Visual Studio 2005 Beta 1 and the Visual C++ 2005 Express Beta. This toolset includes an updated compiler that implements many of the features that weren't complete for the Beta 1 release.

    Please read and follow the installation instructions if you decide to install this release. The Tools Refresh is from a different source tree and so the tools aren't tested to Beta quality, so please review the overview and the instructions on the download center page before you install.
    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.
    The team asks that you send feedback through the MSDN Product Feedback Center. Testing this and providing feedback to us is a great way for you to make a difference in the final version of the product. Thanks! Brian
  • blogs.msdn.com/brianjo

    Windows XPSP2 Pages Updated

    • 6 Comments
    As I'm sure you know by now, we've updated the XPSP2 page in the Security Developer Center with links to the downloads available. In addition, a number of other pages have been updated on Microsoft.com. Here's a short list of the articles and pages that I'm reading through today:
    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
    And just a quick note about the checked build we're linking to from our XPSP2 page. This is a great build to install on a test machine that you want to run a debugger against, but it will probably mess up your workstation if you install it on a machine you're trying to work on. If you're looking for the build to run locally, use the release build.
  • blogs.msdn.com/brianjo

    Stepto on Channel 9

    • 2 Comments
    Stephen Toulouse (affectionately known as Stepto around MS) is being interviewed on Channel 9 this week. Stepto is on the front lines of Microsoft's security response effort, so these interviews should be good.
    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.
  • blogs.msdn.com/brianjo

    Windows XP Security Guide Updated

    • 3 Comments
    The Windows XP Security Guide has been updated with new information about Windows XP Service Pack 2. The overview page provides a content roadmap and a link to the complete paper on the download center.
    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).
  • blogs.msdn.com/brianjo

    Windows XP Service Pack 2 on Windows Update

    • 6 Comments
    You can now get Windows XP Service Pack 2 by going to Windows Update. This is probably the best way to update a single machine. Word of mouth is a great thing. Be sure to tell your friends and family to update their Windows XP machines.
    Windows XP users: Get Service Pack 2 today
    Your first step to help protect your computer is to install this new security update to Windows XP.
    In related news, there was an XPSP2 story on NPR this morning. They interviewed Rich Kaplan and others about the service pack.


    Fix Released for Windows XP Security Flaws

    Microsoft 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.

  • blogs.msdn.com/brianjo

    Security Events on Microsoft.com this Week

    • 1 Comments
    Here are some of the security related events taking place on Microsoft.com this week:
    MSDN Webcast: Essentials of Application Security (Part 1) - Secure Communications - Level: 300
    Monday, August 02,2004
    11:00 AM - 12:00 PM Pacific Time

    MSDN Webcast: How Hackers Hack - Level: 200
    Friday, August 06, 2004
    9: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.

  • blogs.msdn.com/brianjo

    64-bit Driver Development Chat

    • 2 Comments
    I've been going through the MSDN chat page today and I found another that may be of interest to C++ developers. There's a 64-Bit Driver Development Chat on Thursday, August 26th at 10:00 AM (PST).
    Ask the Experts Online: 64-bit Driver Development
    Experts 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.

  • blogs.msdn.com/brianjo

    Windows XP Service Pack 2 Chat

    • 48 Comments
    There's a Windows XP SP2 chat scheduled for Wednesday, August 25th at 3:00 PM PST. Here's link to the chats page:
    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.
    You can add this event to your Outlook Calender by clicking here.
Page 1 of 2 (14 items) 12