Visual C++ Express Not compiling files form older versions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluesteel
    New Member
    • Mar 2007
    • 84

    Visual C++ Express Not compiling files form older versions

    Hi, I am trying to use Visual C++ express but i got some samples made under Visual C++ 6.0 that do not compile under the program mentioned at the beginning. Visual C++ Express says that the file included "windows.h" does not exist, what means Visual C++ Express does not come with such library (what makes me sick). Having understood that i wanted to know how i could solve this problem, so that i can compile Visual C++ 6.0 Projects under Visual C++ 8.0 (Express Edition 2005). This is very important, because i want to learn how to use this powerful tool, which easily creates GUI what sounds pretty interesting, a lot more than the classic DOS console, which is as old as the earth, and nobody would ever be interested in buying a program like that, so please help me to do this. Another Question I would like to ask is how can i make images "move", i mean:
    I want to make an animation, a person (a simple drawing made under MS PAINT) move horizontally and vertically in the program window, but i also want to make it TRULY move, not by making images disappear and appear, making the image change its coordinates so that it seems to move. Please tell me how to do this because i'm 99.9% interested in game developing, not masterpieces, but at least something that works and gives me a chance to learn.

    Any Help will be much appreciated.
    Thanks!


    Kind Regards,
    Paul
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    What kind of project did you create??

    Does Visual Studio Express 2005 let you create a Win32 project??

    Comment

    • bluesteel
      New Member
      • Mar 2007
      • 84

      #3
      They Are W32 projects, but they are projects that DID run under VC++ 6.0 and do not run under VC++ 8.0. They Include "windows.h" which does not exist in VC++ 8.0 (what is unbelievable). That's the problem, the program does not have windows.h, maybe i could patch the program or something, but i don't think i could make it work by just downloading windows.h because there are thousand of references which are not going to work

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        I use Visual Studio.NET 2005 Professional Edition and this product works. It is the replacement for VC++ 6.0.

        Visual Studio Express 2005 is a free product that replaced the academic version of Visual Studio. It has been deliberately limited. Like it can't do a solution but only individual projects. It may be that it can't do windows programming but I don't know that for sure. Certainly, no windows.h is an indicator of a limit.

        What do your docs say when you click help?? If there's nothing there about windows programming , then you have your answer. Otherwise, you may need a re-install.

        Or, you could just get the actual product Visual Studio.NET 2005 Professional Edition and not have to worry.

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          I just found out that the Microsoft Platform SDK does not come with The Express edition of Visual Studio but that if you go to the Microsoft web site where you download the Express edtion, there is a place there where you can click to doenload the Platform SDK at no charge.

          That will get youer windows.h and all of the windows libraries you nee to proceed.

          Sorry I took so long but I just found this out.

          Comment

          Working...