UtmostCathode
Programmer
I've been having some trouble with this error for a few hours now. It's a hard question to ask, because there's nothing specific about it. The error itself is ambiguous.
All I know is that it has to do with the order I include windows.h or dinput.h, or how many times. To expand: I need to create a DirectInput object to play around with a USB mouse, thus I need to include dinput.h, however, when I do this it spits out the error. It also gives the error if I do *not* include dinput, but include windows.h a second time somewhere in my project.
I'm working in Microsoft Visual C++ .NET, Visual Studio .net professional 2003. I've basically just been working with Forms, and now I want to create a user joystick interface.
All I know is that it has to do with the order I include windows.h or dinput.h, or how many times. To expand: I need to create a DirectInput object to play around with a USB mouse, thus I need to include dinput.h, however, when I do this it spits out the error. It also gives the error if I do *not* include dinput, but include windows.h a second time somewhere in my project.
I'm working in Microsoft Visual C++ .NET, Visual Studio .net professional 2003. I've basically just been working with Forms, and now I want to create a user joystick interface.