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. Compiles with VC6. Is this still available?

Compiles with VC6. Is this still available?

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmshelpquestion
10 Posts 4 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.
  • Y Offline
    Y Offline
    Ylno
    wrote on last edited by
    #1

    Hello, I've downloaded an SDK an am able to get the code to compile with VC6 no problem but when I use Express Edition 2008/2005 I get all sorts of compiler/linker errors. The problem is I only have access to VC6 in work and would like to have a copy for myself. Is it still available? or is there a way to get the Express Editions to use the VC6 compiler? Searching for this hasn't turned up anything Also: Why would something compile with older versions and not newer ones? Thanks

    CPalliniC D C 3 Replies Last reply
    0
    • Y Ylno

      Hello, I've downloaded an SDK an am able to get the code to compile with VC6 no problem but when I use Express Edition 2008/2005 I get all sorts of compiler/linker errors. The problem is I only have access to VC6 in work and would like to have a copy for myself. Is it still available? or is there a way to get the Express Editions to use the VC6 compiler? Searching for this hasn't turned up anything Also: Why would something compile with older versions and not newer ones? Thanks

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Probably it is better to fix the source code. Could you post, please, some of the error messages?

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

      In testa che avete, signor di Ceprano?

      Y 1 Reply Last reply
      0
      • CPalliniC CPallini

        Probably it is better to fix the source code. Could you post, please, some of the error messages?

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

        Y Offline
        Y Offline
        Ylno
        wrote on last edited by
        #3

        Hi Thanks for the help. The project is set to compile to .dll. This is done with VC++ 9.0 Express Here's some errors: 1>LibraryExample.cpp 1>f:\copy of dmm\win32\include\gatantypes.h(403) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(404) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(405) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(407) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(408) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(409) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(411) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(412) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(413) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(415) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(416) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(417) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(419) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(420) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\c

        CPalliniC 1 Reply Last reply
        0
        • Y Ylno

          Hello, I've downloaded an SDK an am able to get the code to compile with VC6 no problem but when I use Express Edition 2008/2005 I get all sorts of compiler/linker errors. The problem is I only have access to VC6 in work and would like to have a copy for myself. Is it still available? or is there a way to get the Express Editions to use the VC6 compiler? Searching for this hasn't turned up anything Also: Why would something compile with older versions and not newer ones? Thanks

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Ylno wrote:

          I've downloaded an SDK...

          The Platform SDK or some other one?

          Ylno wrote:

          Is it still available?

          Is what still available?

          Ylno wrote:

          or is there a way to get the Express Editions to use the VC6 compiler?

          This makes no sense. Why would you want a new compiler/IDE to use an old compiler?

          Ylno wrote:

          Also: Why would something compile with older versions and not newer ones?

          Because the new compilers are more strict in adhereing to the C++ standards.

          "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          Y 1 Reply Last reply
          0
          • D David Crow

            Ylno wrote:

            I've downloaded an SDK...

            The Platform SDK or some other one?

            Ylno wrote:

            Is it still available?

            Is what still available?

            Ylno wrote:

            or is there a way to get the Express Editions to use the VC6 compiler?

            This makes no sense. Why would you want a new compiler/IDE to use an old compiler?

            Ylno wrote:

            Also: Why would something compile with older versions and not newer ones?

            Because the new compilers are more strict in adhereing to the C++ standards.

            "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            Y Offline
            Y Offline
            Ylno
            wrote on last edited by
            #5

            DavidCrow wrote:

            The Platform SDK or some other one?

            It's another SDK for compiling scripts into .dll to improve execution time.

            DavidCrow wrote:

            Is what still available?

            is the VC6 compiler/IDE available.

            DavidCrow wrote:

            This makes no sense. Why would you want a new compiler/IDE to use an old compiler?

            Because I got the code to compile with no problems in VC6 and the resulting .dll worked fine. And it seems too much hassle to get the code to work with a more recent compiler.

            1 Reply Last reply
            0
            • Y Ylno

              Hi Thanks for the help. The project is set to compile to .dll. This is done with VC++ 9.0 Express Here's some errors: 1>LibraryExample.cpp 1>f:\copy of dmm\win32\include\gatantypes.h(403) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(404) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(405) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(407) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(408) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(409) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(411) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(412) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(413) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(415) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(416) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(417) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(419) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\copy of dmm\win32\include\gatantypes.h(420) : error C2906: 'Gatan::ScaleData' : explicit specialization requires 'template <>' 1>f:\c

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #6

              Did you try to prefix token_type with the typename keyword, as suggested? :)

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

              In testa che avete, signor di Ceprano?

              Y 1 Reply Last reply
              0
              • CPalliniC CPallini

                Did you try to prefix token_type with the typename keyword, as suggested? :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                Y Offline
                Y Offline
                Ylno
                wrote on last edited by
                #7

                Hi CPallini, Yes I have sorted all the previous errors with the suggestions. I wanted to show them in case there was something i could do with the compile options to get rid of these errors. (I thought I could ask the compiler to be less strict. Since i got the same thing to compile first time with VC6). Here's where i'm at now. Linker errors: (the project was set up so that the linker has the path of the library) Do you know what the weird combination of symbols mean? such as: (??0bad_cast@std@@QAE@PBD@Z) 1>Linking... 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" (??0bad_cast@std@@QAE@PBD@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" (??0bad_cast@std@@QAE@ABV01@@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::bad_cast::~bad_cast(void)" (??1bad_cast@std@@UAE@XZ) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1> Creating library .\Debug/LibraryExample.lib and object .\Debug/LibraryExample.exp 1>LibraryExample.obj : error LNK2019: unresolved external symbol "void __cdecl Gatan::PlugIn::DMScript_HandleException(struct Gatan::PlugIn::DM_Env *,class std::exception const &)" (?DMScript_HandleException@PlugIn@Gatan@@YAXPAUDM_Env@12@ABVexception@std@@@Z) referenced in function __catch$?PlugIn_Start@@YAXXZ$0 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * std::locale::_Locimp::_Global" (?_Global@_Locimp@locale@std@@0PAV123@A) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "protected: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@IAEXXZ) referenced in function "protected: void __thiscall std::basic_ios >::init(class std::basic_streambuf > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "__int64 const std::_Fpz" (?_Fpz@std@@3_JB) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ) referenced in f

                CPalliniC 1 Reply Last reply
                0
                • Y Ylno

                  Hello, I've downloaded an SDK an am able to get the code to compile with VC6 no problem but when I use Express Edition 2008/2005 I get all sorts of compiler/linker errors. The problem is I only have access to VC6 in work and would like to have a copy for myself. Is it still available? or is there a way to get the Express Editions to use the VC6 compiler? Searching for this hasn't turned up anything Also: Why would something compile with older versions and not newer ones? Thanks

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #8

                  you can still find copies on eBay (i got one from there, a few years back)

                  Ylno wrote:

                  Why would something compile with older versions and not newer ones?

                  MS keeps making the compiler more standards-compliant. it's probably easiest to just fix the code. most of the compiler changes are pretty easy to accommodate.

                  image processing toolkits | batch image processing

                  1 Reply Last reply
                  0
                  • Y Ylno

                    Hi CPallini, Yes I have sorted all the previous errors with the suggestions. I wanted to show them in case there was something i could do with the compile options to get rid of these errors. (I thought I could ask the compiler to be less strict. Since i got the same thing to compile first time with VC6). Here's where i'm at now. Linker errors: (the project was set up so that the linker has the path of the library) Do you know what the weird combination of symbols mean? such as: (??0bad_cast@std@@QAE@PBD@Z) 1>Linking... 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" (??0bad_cast@std@@QAE@PBD@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" (??0bad_cast@std@@QAE@ABV01@@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::bad_cast::~bad_cast(void)" (??1bad_cast@std@@UAE@XZ) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj) 1> Creating library .\Debug/LibraryExample.lib and object .\Debug/LibraryExample.exp 1>LibraryExample.obj : error LNK2019: unresolved external symbol "void __cdecl Gatan::PlugIn::DMScript_HandleException(struct Gatan::PlugIn::DM_Env *,class std::exception const &)" (?DMScript_HandleException@PlugIn@Gatan@@YAXPAUDM_Env@12@ABVexception@std@@@Z) referenced in function __catch$?PlugIn_Start@@YAXXZ$0 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * std::locale::_Locimp::_Global" (?_Global@_Locimp@locale@std@@0PAV123@A) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "protected: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@IAEXXZ) referenced in function "protected: void __thiscall std::basic_ios >::init(class std::basic_streambuf > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "__int64 const std::_Fpz" (?_Fpz@std@@3_JB) 1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ) referenced in f

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #9

                    Ylno wrote:

                    Do you know what the weird combination of symbols mean? such as: (??0bad_cast@std@@QAE@PBD@Z)

                    It is C++ name decoration (or mangling) see, for instance [^]. Regarding the linker errors, perhaps this page [^] may help. :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                    In testa che avete, signor di Ceprano?

                    Y 1 Reply Last reply
                    0
                    • CPalliniC CPallini

                      Ylno wrote:

                      Do you know what the weird combination of symbols mean? such as: (??0bad_cast@std@@QAE@PBD@Z)

                      It is C++ name decoration (or mangling) see, for instance [^]. Regarding the linker errors, perhaps this page [^] may help. :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                      Y Offline
                      Y Offline
                      Ylno
                      wrote on last edited by
                      #10

                      Thanks very much for the help. I'll take a look at those links. Thanks

                      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