Search:
Type: Posts; User: wklove2003
Search:
Search took 0.02 seconds.
-
September 13th, 2010, 12:56 PM
Here is where the declaration is. So 16 characters.
#ifdef __APPLE_CC__
char mDevice[64];
#else
char mDevice[16];
#endif
-
September 10th, 2010, 01:36 PM
Serial.hpp
#ifndef SERIAL_HPP
#define SERIAL_HPP
class Serial {
public:
class SerialError
{
-
September 10th, 2010, 12:41 PM
Most of this was written by someone else, so I am not sure why they did not use CString.
Here is the string_buffer.cpp
#include "internal.hpp"
#include "string_buffer.hpp"
...
-
September 10th, 2010, 12:04 PM
bool Serial::connect()
{
if (mConnected)
{
printf("You are already connected, please disconnect first\n");
return false;
}
COMMTIMEOUTS cto;
DCB dcb;
-
September 10th, 2010, 11:31 AM
bool Serial::connect()
{
if (mConnected)
{
printf("You are already connected, please disconnect first\n");
return false;
}
COMMTIMEOUTS cto;
DCB dcb;
-
September 10th, 2010, 11:08 AM
On a seperate note, I do appreciate you guys for trying to help and I apologize.
-
September 10th, 2010, 11:04 AM
"The value of the error code is 2"
That is saying that it cannot find the specified file correct? So I know that should be self explanatory, but can you explain to me what file it is talking...
-
September 9th, 2010, 12:07 PM
Sorry, I just havent been able to get a GetLastError() function to return anything. That is why I started trying other things. Seems to only cause problems when I try putting something in there. ...
-
September 8th, 2010, 03:50 PM
Ok, so when I try to step through in debug and putting @err,h in Watch window I get:
Watch:
@err,h CXX0026: Error: bad format string
CallStack:
> haas.exe!main(int aArgc, char * * aArgv) ...
-
September 7th, 2010, 12:47 PM
I am not getting any message, they are running the same way. No errors pop up in the call stack for either program. Nothing happens when I inserted the GetLastError function
-
September 7th, 2010, 11:07 AM
How do I call the GetLastError()? Sorry, this is all very new to me
-
September 6th, 2010, 02:06 PM
Is there a problem with this file?
serial.win32.cpp-external dependency file
bool Serial::connect()
{
if (mConnected)
-
September 6th, 2010, 01:15 PM
Okay, So I am new to programming and am trying to transfer data from a machine via RS232 to an "adapter" program that allows connection to a "client or agent" program that sends the data to the...
-
September 6th, 2010, 12:40 PM
Thank you, I think that solved the problem. Can't believe I didn't see that
-
September 6th, 2010, 12:09 PM
Hey Guys, So I am trying to implement a socket program that will allow me to transfer data from a machine and monitor it remotely. Having issues with a particular part of this program. I am a newb...
|
Click Here to Expand Forum to Full Width
|