MSDN Examples

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?TWFuanJlZSBHYXJn?=

    MSDN Examples

    Hi

    Whenever I download MSDN examples and then try to build them It says 'Build
    skipped' and never builds them. Hence I can not run them.

    What am I doing wrong???

    Cheers.

    Manj.
  • Jeffrey Tan[MSFT]

    #2
    RE: MSDN Examples

    Hi Manj,

    Do you use VS2005 or VS2008? Can you show us link of the problematic MSDN
    sample? Also, can you provide the steps for reproduce your problem?

    Also, if you use the VS to create a new project and build, do you still get
    this problem? Thanks.

    Best regards,
    Jeffrey Tan
    Microsoft Online Community Support
    =============== =============== =============== =====
    Get notification to my posts through email? Please refer to
    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

    ications.

    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at
    http://msdn.microsoft.com/subscripti...t/default.aspx.
    =============== =============== =============== =====
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Comment

    • =?Utf-8?B?TWFuanJlZSBHYXJn?=

      #3
      RE: MSDN Examples

      Hi jeffery

      I am using VS2005. Following is the link for a modeless dialog box example:



      But this is not the only one. I can not run any of the samples provided in
      MSDN.

      If I create a new project it works fine.

      Cheers.

      MAnjree

      ""Jeffrey Tan[MSFT]"" wrote:
      Hi Manj,
      >
      Do you use VS2005 or VS2008? Can you show us link of the problematic MSDN
      sample? Also, can you provide the steps for reproduce your problem?
      >
      Also, if you use the VS to create a new project and build, do you still get
      this problem? Thanks.
      >
      Best regards,
      Jeffrey Tan
      Microsoft Online Community Support
      =============== =============== =============== =====
      Get notification to my posts through email? Please refer to
      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

      ications.
      >
      Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
      where an initial response from the community or a Microsoft Support
      Engineer within 1 business day is acceptable. Please note that each follow
      up response may take approximately 2 business days as the support
      professional working with you may need further investigation to reach the
      most efficient resolution. The offering is not appropriate for situations
      that require urgent, real-time or phone-based interactions or complex
      project analysis and dump analysis issues. Issues of this nature are best
      handled working with a dedicated Microsoft Support Engineer by contacting
      Microsoft Customer Support Services (CSS) at
      http://msdn.microsoft.com/subscripti...t/default.aspx.
      =============== =============== =============== =====
      This posting is provided "AS IS" with no warranties, and confers no rights.
      >
      >

      Comment

      • Jeffrey Tan[MSFT]

        #4
        RE: MSDN Examples

        Hi MAnjree,

        Thanks for your feedback.

        Can you tell me what error do you get during compiling or linking? I have
        downloaded this sample and tested it on two machines; one with VS2005 and
        the other with VS2008. Both build the project successfully without any
        error.

        I suspect this problem may be your VS IDE configuration or machine specific
        problem, so I need the details error for analysis. Thanks.

        Best regards,
        Jeffrey Tan
        Microsoft Online Community Support
        =============== =============== =============== =====
        Get notification to my posts through email? Please refer to
        Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

        ications.

        Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
        where an initial response from the community or a Microsoft Support
        Engineer within 1 business day is acceptable. Please note that each follow
        up response may take approximately 2 business days as the support
        professional working with you may need further investigation to reach the
        most efficient resolution. The offering is not appropriate for situations
        that require urgent, real-time or phone-based interactions or complex
        project analysis and dump analysis issues. Issues of this nature are best
        handled working with a dedicated Microsoft Support Engineer by contacting
        Microsoft Customer Support Services (CSS) at
        http://msdn.microsoft.com/subscripti...t/default.aspx.
        =============== =============== =============== =====
        This posting is provided "AS IS" with no warranties, and confers no rights.


        Comment

        • =?Utf-8?B?TWFuanJlZSBHYXJn?=

          #5
          RE: MSDN Examples

          Hi Jefferey

          Thanks for your reply.

          When I build the sample I get the following:

          1>------ Skipped Build: Project: modeless ------
          1>
          ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped =========

          and when I compile any .cpp file I get

          "Operation could not be completed. Unspecified error."

          Are there some settings that should be done in VS IDE configuration?? ??

          cheers.

          Manj.



          ""Jeffrey Tan[MSFT]"" wrote:
          Hi MAnjree,
          >
          Thanks for your feedback.
          >
          Can you tell me what error do you get during compiling or linking? I have
          downloaded this sample and tested it on two machines; one with VS2005 and
          the other with VS2008. Both build the project successfully without any
          error.
          >
          I suspect this problem may be your VS IDE configuration or machine specific
          problem, so I need the details error for analysis. Thanks.
          >
          Best regards,
          Jeffrey Tan
          Microsoft Online Community Support
          =============== =============== =============== =====
          Get notification to my posts through email? Please refer to
          Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

          ications.
          >
          Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
          where an initial response from the community or a Microsoft Support
          Engineer within 1 business day is acceptable. Please note that each follow
          up response may take approximately 2 business days as the support
          professional working with you may need further investigation to reach the
          most efficient resolution. The offering is not appropriate for situations
          that require urgent, real-time or phone-based interactions or complex
          project analysis and dump analysis issues. Issues of this nature are best
          handled working with a dedicated Microsoft Support Engineer by contacting
          Microsoft Customer Support Services (CSS) at
          http://msdn.microsoft.com/subscripti...t/default.aspx.
          =============== =============== =============== =====
          This posting is provided "AS IS" with no warranties, and confers no rights.
          >
          >
          >

          Comment

          • Jeffrey Tan[MSFT]

            #6
            RE: MSDN Examples

            Hi Bob,

            Thanks for your feedback.

            Do you just select "Build"->"Rebuild Solution" to build the entire
            solution? Or do you use command line to build the solution? I find one
            internal record reporting this error while build project using the command
            line.

            Also, if you create a new sample project, does this problem still exist? Or
            the problem only occurs with this project?

            Finally, I would recommend you to download and install VS2005 SP1 since a
            lot of bugs have been fixed in the SP1:

            B39D-37BAF6B5B1DC&di splaylang=en

            Thanks.

            Best regards,
            Jeffrey Tan
            Microsoft Online Community Support
            =============== =============== =============== =====
            Get notification to my posts through email? Please refer to
            Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

            ications.

            Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
            where an initial response from the community or a Microsoft Support
            Engineer within 1 business day is acceptable. Please note that each follow
            up response may take approximately 2 business days as the support
            professional working with you may need further investigation to reach the
            most efficient resolution. The offering is not appropriate for situations
            that require urgent, real-time or phone-based interactions or complex
            project analysis and dump analysis issues. Issues of this nature are best
            handled working with a dedicated Microsoft Support Engineer by contacting
            Microsoft Customer Support Services (CSS) at
            http://msdn.microsoft.com/subscripti...t/default.aspx.
            =============== =============== =============== =====
            This posting is provided "AS IS" with no warranties, and confers no rights.

            Comment

            • =?Utf-8?B?TWFuanJlZSBHYXJn?=

              #7
              RE: MSDN Examples

              Hi Jeffrey

              The problem exists only with the MSDN examples. Nothing works in the
              "Build" menu (Build/Rebuild/Clean) and I get the same error every time
              ("Build/Rebuild/Clean skipped").

              If I create new project it works fine.

              I've got VS2005 Professional edition and Vc++2005 Redistributable installed
              on my system. The link you suggested is not working.

              I checked the download center. There is Microsoft Visual C++ 2005 SP1
              Redistributable Package (x86). Do I need to install it? It is to run
              applications developed with Visual C++ on a computer that does not have
              Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).

              By the way it's Manjree not BOb :)

              Cheers.

              Manjree

              ""Jeffrey Tan[MSFT]"" wrote:
              Hi Bob,
              >
              Thanks for your feedback.
              >
              Do you just select "Build"->"Rebuild Solution" to build the entire
              solution? Or do you use command line to build the solution? I find one
              internal record reporting this error while build project using the command
              line.
              >
              Also, if you create a new sample project, does this problem still exist? Or
              the problem only occurs with this project?
              >
              Finally, I would recommend you to download and install VS2005 SP1 since a
              lot of bugs have been fixed in the SP1:

              B39D-37BAF6B5B1DC&di splaylang=en
              >
              Thanks.
              >
              Best regards,
              Jeffrey Tan
              Microsoft Online Community Support
              =============== =============== =============== =====
              Get notification to my posts through email? Please refer to
              Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

              ications.
              >
              Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
              where an initial response from the community or a Microsoft Support
              Engineer within 1 business day is acceptable. Please note that each follow
              up response may take approximately 2 business days as the support
              professional working with you may need further investigation to reach the
              most efficient resolution. The offering is not appropriate for situations
              that require urgent, real-time or phone-based interactions or complex
              project analysis and dump analysis issues. Issues of this nature are best
              handled working with a dedicated Microsoft Support Engineer by contacting
              Microsoft Customer Support Services (CSS) at
              http://msdn.microsoft.com/subscripti...t/default.aspx.
              =============== =============== =============== =====
              This posting is provided "AS IS" with no warranties, and confers no rights.
              >
              >

              Comment

              • Ben Voigt [C++ MVP]

                #8
                Re: MSDN Examples


                "Manjree Garg" <garg@newsgroup .nospamwrote in message
                news:C2E56A9B-074A-4458-848F-9E19C0CFC346@mi crosoft.com...
                Hi Jeffrey
                >
                The problem exists only with the MSDN examples. Nothing works in the
                "Build" menu (Build/Rebuild/Clean) and I get the same error every time
                ("Build/Rebuild/Clean skipped").
                >
                If I create new project it works fine.
                >
                I've got VS2005 Professional edition and Vc++2005 Redistributable
                installed
                on my system. The link you suggested is not working.
                The link works fine. Make sure you paste it into your browser on a single
                line.
                >
                I checked the download center. There is Microsoft Visual C++ 2005 SP1
                Redistributable Package (x86). Do I need to install it? It is to run
                applications developed with Visual C++ on a computer that does not have
                Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).
                The right download is "Microsoft® Visual Studio® 2005 Team Suite Service
                Pack 1"
                >
                By the way it's Manjree not BOb :)
                >
                Cheers.
                >
                Manjree
                >
                ""Jeffrey Tan[MSFT]"" wrote:
                >
                >Hi Bob,
                >>
                >Thanks for your feedback.
                >>
                >Do you just select "Build"->"Rebuild Solution" to build the entire
                >solution? Or do you use command line to build the solution? I find one
                >internal record reporting this error while build project using the
                >command
                >line.
                >>
                >Also, if you create a new sample project, does this problem still exist?
                >Or
                >the problem only occurs with this project?
                >>
                >Finally, I would recommend you to download and install VS2005 SP1 since a
                >lot of bugs have been fixed in the SP1:
                >http://www.microsoft.com/downloads/d...5AB-E2D4-4C96-
                >B39D-37BAF6B5B1DC&di splaylang=en
                >>
                >Thanks.
                >>
                >Best regards,
                >Jeffrey Tan
                >Microsoft Online Community Support
                >============== =============== =============== ======
                >Get notification to my posts through email? Please refer to
                >http://msdn.microsoft.com/subscripti...ult.aspx#notif
                >ications.
                >>
                >Note: The MSDN Managed Newsgroup support offering is for non-urgent
                >issues
                >where an initial response from the community or a Microsoft Support
                >Engineer within 1 business day is acceptable. Please note that each
                >follow
                >up response may take approximately 2 business days as the support
                >professional working with you may need further investigation to reach the
                >most efficient resolution. The offering is not appropriate for situations
                >that require urgent, real-time or phone-based interactions or complex
                >project analysis and dump analysis issues. Issues of this nature are best
                >handled working with a dedicated Microsoft Support Engineer by contacting
                >Microsoft Customer Support Services (CSS) at
                >http://msdn.microsoft.com/subscripti...t/default.aspx.
                >============== =============== =============== ======
                >This posting is provided "AS IS" with no warranties, and confers no
                >rights.
                >>
                >>

                Comment

                • Jochen Kalmbach [MVP]

                  #9
                  Re: MSDN Examples

                  Hi Peter!
                  I get the exact same error as the OP using Visual Studio 2005 with service
                  pack 1 installed. I am using the IDE to compile the code.
                  >
                  1>------ Skipped Build: Project: modeless ------
                  >
                  1>
                  >
                  ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========
                  You need to go to "Build | Configuration Manager..." and check the
                  "Build" Checkbox for each Project...

                  Greetings
                  Jochen

                  Comment

                  • Peter

                    #10
                    Re: MSDN Examples

                    You need to go to "Build | Configuration Manager..." and check the
                    "Build" Checkbox for each Project...
                    It was already checked.


                    Comment

                    • Peter

                      #11
                      Re: MSDN Examples

                      You need to go to "Build | Configuration Manager..." and check the
                      "Build" Checkbox for each Project...
                      Ahh ignore the other reply. I just found that the Platform in that screen
                      was set to Itanium, changing it to win32 enabled it to compile.


                      Comment

                      Working...