Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Visual C++ 2005 Express Edition Project Files  (Read 1833 times)

Kraythe

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 15
    • View Profile
Visual C++ 2005 Express Edition Project Files
« on: November 10, 2005, 04:36:36 PM »

pjcast:

I checked in some project files for Visual C++ 2005 Express Edition. The reason I checked them in is that you appear to be using a system even older than the Visual C++ 2003 .NET that I also have running around here.; therefore I cant convert older files nor edit them. Also it would be a flaming disaster if one of us accidentally checked in project files that have been upgraded while the user is still using an old compiler.

And btw I made my first commit of code. I looked at ogre and supported our DLL Export macro for Apple and Linux. I put this at the top of the file so these defs can be run before someone starts declaring classes and whatnot.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Visual C++ 2005 Express Edition Project Files
« Reply #1 on: November 10, 2005, 06:11:41 PM »

Linux does not need the export macro (which is why I had it first declared as blank) IIRC, Apple does also not need it.

I will have to take a look at what changes you made before I can comment farthur.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Visual C++ 2005 Express Edition Project Files
« Reply #2 on: November 10, 2005, 06:24:11 PM »

I had a look at your changes to OISPrereq.h, it looks fine, except, that the defines should come after the included header files. As, the only header files that are inclulded there are STL and OISConfig.h (which has no classes for exporting). ALso, OISConfig.h has the line that can be uncommented when using this as a DLL (OIS_DYNAMIC_LIB), so it needs to be included first.

Besides that, the changes are ok - though, you only had to declare "#define _OISExport" once. Because in the Win32 ifdef part, if it was defined (as blank) then it is undefined, and redefined as dllexport or import... Not really wrong, but doubles the line count unnecessarily.

edit - And I fine with the project files for 2005 being seperate.. But, as far as really old, I am using .Net 2002 (only a few years out of date) - and the same version of solution files that Ogre uses.. As it is compatiable with 2002, 2003, and 2005 (and CodeBlocks).. Not sure what problems you were having?
Logged

Kraythe

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 15
    • View Profile
Visual C++ 2005 Express Edition Project Files
« Reply #3 on: November 11, 2005, 02:44:40 AM »

Quote from: "pjcast"
Linux does not need the export macro (which is why I had it first declared as blank) IIRC, Apple does also not need it.

I will have to take a look at what changes you made before I can comment farthur.


I thought we could leave the sections there to put any other OS specific stuff that needs to go there in the future. I dont suppose it matters where exactly they are in the file unless they are used by elements in the same file.

As for the VS files, I dont have an
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Visual C++ 2005 Express Edition Project Files
« Reply #4 on: November 11, 2005, 10:51:53 AM »

Yeah, ok we can leave it there for the future. I have no problems with that.

Btw, it seems that the forums/site have been down all morning.. I will be moving to a new host (transferring site now) so at some point I will lock the forums (tonite or tomorrow). To transfer its database over. Just an FYI.
Logged

Kraythe

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 15
    • View Profile
Visual C++ 2005 Express Edition Project Files
« Reply #5 on: November 11, 2005, 05:37:07 PM »

Thats fine .. just email me kraythe<at>cryptoheaven<dot>com with the new address. hopefully soon as I have a lot of stuff to talk about. =)
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Visual C++ 2005 Express Edition Project Files
« Reply #6 on: November 11, 2005, 05:41:49 PM »

:D

It has already been done  :wink: The old site's forum is still locked. So, if you posted here, you are already using the new site.
Logged