Giter Club home page Giter Club logo

Comments (4)

billhsu avatar billhsu commented on August 15, 2024

Hi @stevstrong, can you try recompiling the binary on that machine?

from juart.

stevstrong avatar stevstrong commented on August 15, 2024

Hi, I tried, but failed somewhere on the road (I think it was CMake) because I don't have any Visual Studio version installed.
I looked on the net but didn't find any downloadable free VS version.
Can you maybe point to some link which is usable?
Thanks.

from juart.

stevstrong avatar stevstrong commented on August 15, 2024

Meanwhile I found out that they are several people on the net having problems on Win10 machines with the function GetDefaultCommConfig() used in your lib.

Then I tried this small program (http://www.naughter.com/enumser.html) which listed my serial ports on Win10 64bit machine within milliseconds. The source code of it can be found here: http://www.naughter.com/download/enumser.zip

It uses the same function but another, simplified approach to get all available COM ports (check the source file enumser.cpp lines 530-569). Maybe you could adapt your code accordingly and compile a new dll so that I can use it, without the need to install locally the VS. This would also avoid many other users the need to compile again the sources on their machines.
Thank you.

from juart.

xloem avatar xloem commented on August 15, 2024

Just to add a note, it looks to me like nobody is currently using or maintaining getports() on windows. If the next person to work with it were to implement stevstrong's suggestion here, that would be great.

from juart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.