M
M
MaxLich2017-11-04 23:30:12
Java
MaxLich, 2017-11-04 23:30:12

What is the best and easiest way to create a Com object in Java and work with it?

Hello. It is necessary to work with the equipment (turnstile controllers and other things like that). This equipment collects data and stores it on its own. Communication goes through their SDK (dll). The manual for this SDK says that the first step is to create an object. Something I can not understand how it is better and easier to do in Java.
(Also, hmm, this: but in Linux you can’t work with this at all, is it just Windows garbage?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2017-11-09
@poslannikD

dll is a purely Windows thing you can't work with in Linux.
1) The only thing that comes to mind is to contrive to work through JNI and its analogs
Analogs can be looked here in the Native section https://github.com/akullpp/awesome-java
2) Although it would undoubtedly be easier to work through c/c++( or the toad is fundamental?).
3) Well, or quite the edge on the toad, write a server on which the logic will be processed, write small programs in c / c ++ that simply forward data from the controllers to the server in the established format

It is necessary to work with the equipment (turnstile controllers and other things like that). ... Communication goes through their SDK (dll).
and what are these controllers that work on Windows :)
In any case, there are not enough variables in the equation, it's better to clarify everything to the smallest detail. Controllers are usually on Linux, if you're lucky, and if you're not lucky, then there's just firmware without wasps. Haven't heard of Windows controllers yet. Maybe there is a full-fledged computer on Windows? In any case, if you work with hardware on a toad, be prepared for the fact that the matter is not limited to one toad (
Is there a network between the controllers and which one? (wi-fi, lan, can, lin :))
Or is there just 20 meters of memory, and once a month a person with a flash drive runs between all the equipment, copies the information there and carries it to the hospital :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question