-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HID on Windows #2
Comments
Repository owner
deleted a comment from
MOAMaster
Jul 22, 2024
I'm very sorry, there are some problems with the email replies, I deleted them and replied to you again
After following the above commands, you can successfully compile the dynamic library and static library files. If you need to run specific code, you need to write a separate program to call this dynamic library or static library I will add a sample code later to show how to run it directly |
Thanks for following up,
but you don’t need to do this.
I ported the HIDAPI and the EasyLink SDK into visual studio,
wrote a layer for calling the Easylink SDK, an application driver,
and setup a link so I can call from java.
My app needs to be able to access the HD API for two machines
simultaneously. EasyLink assumes a single machine. I decided
to write a scaled down version SDK, much simpler that communicates
with multiple boards simultaneously. I have that working.
Am now working on code to determine the actual move based
on successive board dumps. Close to getting that working.
Also, I am integrating with a chess type app written in Java,
so I have written and tested java code that goes through
both EasyLink and my SDK to get to multiple machines
operating in parallel.
But, thanks for following through.
Bruce
From: chessnutech ***@***.***>
Sent: Sunday, July 21, 2024 10:36 PM
To: chessnutech/EasyLinkSDK ***@***.***>
Cc: MOAMaster ***@***.***>; Author ***@***.***>
Subject: Re: [chessnutech/EasyLinkSDK] HID on Windows (Issue #2)
I'm very sorry, there are some problems with the email replies, I deleted them and replied to you again
git clone ...
cd EasyLinkSDK && mkdir build && cd build
cmake ..
cmake --build .
After following the above commands, you can successfully compile the dynamic library and static library files. If you need to run specific code, you need to write a separate program to call this dynamic library or static library
I will add a sample code later to show how to run it directly
—
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE2KTWVFGEKQM5KTYN6JASLZNSK2LAVCNFSM6AAAAABKJ3KDJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGEZDKMZQHA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AE2KTWSE7VYKI5DHOUHAXQLZNSK2LA5CNFSM6AAAAABKJ3KDJOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFUQO7Y.gif> Message ID: ***@***.*** ***@***.***> >
|
Enjoy yourself |
That was not meant as a put down.
My version is not to the production quality as the easylink sdk.
In the easylink, you have a lot of needed complexity to handle
a wide range of situations. I would trust the Easylink sdk
if I were going to build a production quality app.
My requirements are very limited. So, I can afford to scale down
my version of the SDK to accommodate those limited requirements.
My SDK is NOT for commercial use. I ignore a lot of stuff that I don’t
need to deal with in my application. And, I would not promote
it for commercial use.
And, I would not have been able to create my scaled version
without having the full version to study.
Thanks for providing your version of the SDK as open source.
I will be doing the same for those who will be using my app.
Bruce
From: chessnutech ***@***.***>
Sent: Sunday, July 21, 2024 11:39 PM
To: chessnutech/EasyLinkSDK ***@***.***>
Cc: MOAMaster ***@***.***>; Author ***@***.***>
Subject: Re: [chessnutech/EasyLinkSDK] HID on Windows (Issue #2)
Enjoy yourself
—
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE2KTWQDC66JWOWAEY3B54DZNSSHXAVCNFSM6AAAAABKJ3KDJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGE4TSMJQGE> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AE2KTWSQHFVAAOWJLIJNMCLZNSSHXA5CNFSM6AAAAABKJ3KDJOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFUU7D2.gif> Message ID: ***@***.*** ***@***.***> >
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I opened hidapi.sln in Vis Studio 2019. The DLL and the EXE successfully built.
But, when I try to execute the EXE, I get a notice that hidapi.dll is not a valid Win32 application.
Not sure what to do next.
Any advice is appreciated.
The text was updated successfully, but these errors were encountered: