thanks for the reply,
I did what you said for the directx sdk. Then I started fresh again. This time compiling went smooth right out of the box. However when I tried running the command line demo, again the buttons on the crappy controller worked, while its d-pad and all the buttons on the xbox controller caused a crash to occur.
I deleted the Platform SDK that I had on my machine and downloaded the newest one. Then I went into VS 2005 and under the tools->options project directories, I added the three folder paths (just as I did for dx). Again the app compiled fine and again the command line demo crashes like crazy.
Just to reiterate, compiling with vs 2003, both controllers worked fine.
Here are the warnings I got during compile time (minus conversion warnings), that may help.
VS 2003 (which works fine)
OIS warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
VS 2005 (compiles but crashes a lot)
Warning 6 warning LNK4221: no public symbols found; archive member will be inaccessible OISJoyStick.obj
The 2005 warning appears twice and seems ominous, but I can't say for sure. Do you have any idea if this is troublesome and what causes this?
I don't think it matters that much but when I run the debug exe and press a button on the xbox360 controller I get the Debug Assertion Failed message. It looks like this:
Program: ...
File: f:\program files\microsoft visual studio 8\vc\include\vector
Line: 756
Expression: vector subscript out of range This is a stupid question, pjcast, but are you sure that when you compile the command line demo with your 2005 solution, everything works exactly as it does with the 2003 build?
thanks
p.s. here is a link to the folder which contains the buggy executables that I produced with vs 2005. I think with this one I opened vs 8 and converted the vs 7 solution. This gets rid of the x64 stuff and still yeilds the same crashes
http://www-personal.umich.edu/~howery/ois.zip