Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Serial.cpp for 64bit
Re: Serial.cpp for 64bit [message #37001 is a reply to message #36997] |
Tue, 07 August 2012 06:04   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Hi Jerson
I replaced the Serial.h and Serial.cpp in my app and tried it.
The data passed needs to be a string rather than int.
That is what was done in Python, Java and a previous C++ app.
I will make the changes to my app.
I fired up an older laptop and found a C++ project using the Eclipse C++.
Here is a .zip that includes the src and the SerialCom.h and .cpp.
It also has a compiled COMcheck1.exe which works on 32bit and 64bit. I am not sure if that was made with the same project.
Note that this is probably only for Windows.
http://www.nlneilson.com/apps/GPS4.zip
The serial code may be easier than the code you have and you may be able to get ideas from. I like to stay away from pointers.
But since your code works with Linux I will try that.
[Updated on: Tue, 07 August 2012 06:53] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 18 08:14:37 CEST 2025
Total time taken to generate the page: 0.00794 seconds
|