[Two computers connected between their COM ports via RS-232]
I can't read more than 4Kbytes with ReadFile from the COM port. If I send more (say, 10Kbytes), it only reads 4Kbytes and returns fro...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10200667.htm...
I have some code that opens a COM port using a CreateFile call and then uses ReadFile to read it. It is a working code taken from some sample.
The problem is that I don't have a device that is s...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10314529.html
I use CreateFile(), DeviceIoControl(), VirtualAlloc(), etc to check Floppy disk data's integrity without any problem in my VC++ 6.00 project.
However, when I need to convert my VC++ project to VB ...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_20090622.html
Zones:
Visual BasicDate Answered: 06/10/2002 Rating: 6.8 Views: 19
I'm trying to use the ReadFile function to read a file 64kb at a time and store it in a buffer. The problem is that some of the files begin with NULL characters...so when I go to read my buffer, t...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20106694.html
Zones:
C++Date Answered: 04/26/2001 Rating: 8.2 Views: 0
how can i read and write to a parallel or serial port using C or VC++?
Would the ReadFile and WriteFile commands help?
If so, how do I get the file handle?
http://www.experts-exchange.com/Programming/Misc/Q_20580395.html
Zones:
ProgrammingDate Answered: 04/10/2003 Rating: 8.6 Views: 0
Hi,
First thank for your direction. I am getting a bit closer to the completion. I have another question on the ReadFile function. As I understand that the function requires to enter the Number...
http://www.experts-exchange.com/Programming/Languages/C/Q_20629164.html
Zones:
CDate Answered: 02/13/2004 Rating: 7.6 Views: 0
my proram1 works fine
#include<iostream.h>
// PROGRAM1
// ten integers are input from the keyboard and stored in an array
// the sum of the numbers is calculated and displayed
// the maximum ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20644238.html
Zones:
C++Date Answered: 06/11/2003 Rating: 8.4 Views: 0
I want ot read from and write on drive in raw form, so can u please tell me if the functions READFILE and WRITEFILE call interrupt 13 Extension or do something else.
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20666119.html
Zones:
C++Date Answered: 07/02/2003 Rating: 7.6 Views: 0
I have a block of code;
Dim lngRet As Long
Dim lngBytesRead As Long
Dim byteBuff(1024) As Byte
lngRet = ReadFile(hRead, byteBuff(0), 1023, lngBytesRead, 0&)
ReadCMD = byteBuff
that co...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_20936653.html
Zones:
Visual BasicDate Answered: 03/31/2004 Rating: 6.2 Views: 0
I am trying to read a file into a string and crypt it, I don't want to use getline (since some of file does not have any specific character such as '\n'), read by char and crypt it is too slow, so ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20951149.html
Zones:
C++Date Answered: 04/12/2004 Rating: 9.0 Views: 0