Enter Keywords:
1 - 10 of 91(0.001 seconds)
Sort By:
 
[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...
Zones: Windows MFC, MeasurementDate Answered: 09/03/1999 Rating: 7.0 Views: 0
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...
Zones: Windows ProgrammingDate Answered: 03/25/2000 Rating: 9.0 Views: 0
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 ...
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...
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?
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...
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 ...
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.
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...
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 ...
Zones: C++Date Answered: 04/12/2004 Rating: 9.0 Views: 0