Find Jobs
Hire Freelancers

Need DirectX Joystick sample from SDK converted to DLL

$30-5000 USD

Completed
Posted about 18 years ago

$30-5000 USD

Paid on delivery
I am looking for someone who can convert the concept of a simple DirectInput Joystick sample from the SDK into a DLL that I can call from a VB program. I have attached the EXE project files, these are straight from the Microsoft DirectX 9.0 SDK (June 2005). So basically what I would like to do is pass in a DIJOYSTATE2 object into this DLL and have it filled and returned to my VB project. Yes, I know there are ways to do this from within VB itself; however, I have found some strange problems that only seem to arise when DirectInput is used from VB... so I figured a DLL would be a good way to work around this. Now as I said, I am a pretty good VB programmer... but I'm not too good with C++ and I just figure rather than spending time trying to do this myself, I would offer up the job to someone who could probably do this much quicker. So... I need to be able to use VB to pass a DIJOYSTATE2 object into an exported function of the DLL. Then the DLL fills the DIJOYSTATE2 using GetDeviceState and passes it back. The DLL should maintain a list of all enumerated joystick devices, and also give me some sort of exported function I can use to re-enumerate the devices when I need to. So after enumeration, they would be stored (as the Microsoft sample suggests), and the DLL would lookup the correct stored device and then call GetDeviceState on that interface... and return the resulting DIJOYSTATE2 structure back to my VB program. I will also need some way to tell the DLL which device I want it to read from. This could be done by allowing me to pass a GUID reference along with the DIJOYSTATE2 structure that I want filled. I have already used this GUID passing method on similiar DLL project, and it worked fine so I see no problem with doing it this way. Also the sample uses DirectInput8 (DirectX9), but if possible I would like to support DirectX7. From my understanding, this should only involve a few minor changes in the code. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows XP/2K/ME
Project ID: 3375055

About the project

3 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$85 USD in 7 days
5.0 (34 reviews)
5.4
5.4
3 freelancers are bidding on average $166 USD for this job
User Avatar
See private message.
$255 USD in 7 days
4.6 (17 reviews)
4.5
4.5
User Avatar
See private message.
$157.25 USD in 7 days
3.4 (7 reviews)
4.8
4.8

About the client

Flag of UNITED STATES
North Wales, United States
5.0
42
Payment method verified
Member since Jan 23, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.