First time here? Check out the FAQ!

Unable to open DXJOYSTICK.OBJ.

0 votes
asked by about DirectX Joystick
edited by

I'm a beginner in developing application using Embarcadero XE2. I'm actually having a problem with the DirectX Joystick. When I run it, I got an error "unable to open file 'DXJOYSTICK.OBJ'". The component TDxJoystick is installed in the tool palette, but I'm able to use it in my CPP file correctly. What am I doing wrong?

1 Answer

0 votes
answered by (80k points)

In order to use the mentioned object in your program, you need to include the Header file of TDxJoystick in your current CPP file. This can be done using the following syntax : #include "theHeaderfile.h" where theHeaderFile is the name of the TDxJoystick header file. If the file isn't in the same directory as your application, you need to use : #include "c:\ ..\include\yourFile.h". To be noticed that you need to input your path to the file in the mentioned syntax. For more information about this issue, check the following support website.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register