Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DXSDK 9 (Summer2004) and Visual C++ 6 issue

DXSDK 9 (Summer2004) and Visual C++ 6 issue

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++graphicsgame-devquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tareqsiraj
    wrote on last edited by
    #1

    Hi all ... I've just downloaded the updated DirectX 9 SDK and now I cant compile the samples (capturesound) with my Visual C++ 6. I have the Platform SDK 2003 Feb installed and the problem is, it askes for UNICODE build. If i define UNICODE in the project settings, it gives another error: "__noop not defined". From MSDN, I found out __noop is a microsoft specific C++ intrinsic and my guess is, its not implemented in VC6 compiler. Is there any workaround to this problem for Visual C++ 6? Thanks in advance. -Tareq

    B J 2 Replies Last reply
    0
    • T tareqsiraj

      Hi all ... I've just downloaded the updated DirectX 9 SDK and now I cant compile the samples (capturesound) with my Visual C++ 6. I have the Platform SDK 2003 Feb installed and the problem is, it askes for UNICODE build. If i define UNICODE in the project settings, it gives another error: "__noop not defined". From MSDN, I found out __noop is a microsoft specific C++ intrinsic and my guess is, its not implemented in VC6 compiler. Is there any workaround to this problem for Visual C++ 6? Thanks in advance. -Tareq

      B Offline
      B Offline
      Bob Stanneveld
      wrote on last edited by
      #2

      Hello, From the DirectX9 readme: Compiler Support Developing C++ applications with the DirectX 9.0 Summer Update requires Visual Studio .NET 2002 or later. Visual Studio version 6 is no longer supported. Developing managed applications with the DirectX 9.0 Summer Update requires Visual Studio .NET 2003 and .NET Runtime 1.1. Developing 64-bit applications requires the Microsoft Platform SDK. All DirectX SDK supported 64-bit samples have a corresponding sample_makefile.x64. These makefiles are compatible with AMD64 and Intel64. You should use the DirectX 8 sdk for development with VC++ 6.

      A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

      T 1 Reply Last reply
      0
      • B Bob Stanneveld

        Hello, From the DirectX9 readme: Compiler Support Developing C++ applications with the DirectX 9.0 Summer Update requires Visual Studio .NET 2002 or later. Visual Studio version 6 is no longer supported. Developing managed applications with the DirectX 9.0 Summer Update requires Visual Studio .NET 2003 and .NET Runtime 1.1. Developing 64-bit applications requires the Microsoft Platform SDK. All DirectX SDK supported 64-bit samples have a corresponding sample_makefile.x64. These makefiles are compatible with AMD64 and Intel64. You should use the DirectX 8 sdk for development with VC++ 6.

        A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

        T Offline
        T Offline
        tareqsiraj
        wrote on last edited by
        #3

        Thanks for the quick reply... but the old dx9 sdk supported vc6 ... and the old code also compiles great with vc6 ... its just the samples... well... i'll try using the old sdk samples with the new sdk... :sigh: -Tareq

        1 Reply Last reply
        0
        • T tareqsiraj

          Hi all ... I've just downloaded the updated DirectX 9 SDK and now I cant compile the samples (capturesound) with my Visual C++ 6. I have the Platform SDK 2003 Feb installed and the problem is, it askes for UNICODE build. If i define UNICODE in the project settings, it gives another error: "__noop not defined". From MSDN, I found out __noop is a microsoft specific C++ intrinsic and my guess is, its not implemented in VC6 compiler. Is there any workaround to this problem for Visual C++ 6? Thanks in advance. -Tareq

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          tareqsiraj wrote: Is there any workaround to this problem for Visual C++ 6? Not that I can think of right away. Couldn't you redefine the macros which uses __noop yourself? It's a dirty hack, but it should work, which is the main objective, right? -- Arigato gozaimashida!

          T 1 Reply Last reply
          0
          • J Jorgen Sigvardsson

            tareqsiraj wrote: Is there any workaround to this problem for Visual C++ 6? Not that I can think of right away. Couldn't you redefine the macros which uses __noop yourself? It's a dirty hack, but it should work, which is the main objective, right? -- Arigato gozaimashida!

            T Offline
            T Offline
            tareqsiraj
            wrote on last edited by
            #5

            hmm... dont have much idea about howto do this hack... tried #ifndef __noop #define __noop #endif but gives syntax error: ')' .... Thanks again ... :(( -Tareq

            J 1 Reply Last reply
            0
            • T tareqsiraj

              hmm... dont have much idea about howto do this hack... tried #ifndef __noop #define __noop #endif but gives syntax error: ')' .... Thanks again ... :(( -Tareq

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #6

              I was thinking more along the lines of rewriting the macros which make use of __noop. -- Arigato gozaimashida!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups