Thank you everyone for all your insights! Thank you tabstop!
BOOL ReadByte(BYTE *res)
{
BOOL bReturn = TRUE;
BYTE rx;
DWORD dwBytesTransferred=0;
Type: Posts; User: thatchergrey
Thank you everyone for all your insights! Thank you tabstop!
BOOL ReadByte(BYTE *res)
{
BOOL bReturn = TRUE;
BYTE rx;
DWORD dwBytesTransferred=0;
Yes, there's a warning. Is this the reason why I'm unable to read the complete string? So how can I address this?
Here is ReadByte.
BOOL ReadByte(BYTE *res)
{
BOOL bReturn = TRUE;
BYTE rx;
DWORD dwBytesTransferred=0;
I cannot get the string that's sent to the com port. I know that it's sent there because I checked using a Serial Port Monitor.
Here is the function that I use for reading the string from the COM...
Thank you MK27! Although the code you posted did not work for me (for reasons I still cannot fully comprehend), it gave me an idea on how to resolve my process termination issue.
This is the code...
The thing I tried was altering my callbacks.c file.
I figured that the right exit mechanism should be inside the on_window1_destroy_event () function of my callbacks.c file.
So I tried the...
Language:C
OS: Windows XP
IDE: Bloodshed DevC++
(I used Glade for Windows based on Glade 2.6.0)
I made a simple front end using Glade/GTK+. My problem is that even after closing the program...