Click here to Skip to main content
15,918,808 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: How to avoid re-entering the time on changing the sim in nokia 6600? Pin
#realJSOP23-Jul-07 1:29
professional#realJSOP23-Jul-07 1:29 
AnswerRe: How to avoid re-entering the time on changing the sim in nokia 6600? Pin
ednrgc23-Jul-07 1:59
ednrgc23-Jul-07 1:59 
AnswerRe: How to avoid re-entering the time on changing the sim in nokia 6600? Pin
brianwelsch23-Jul-07 2:24
brianwelsch23-Jul-07 2:24 
AnswerRe: How to avoid re-entering the time on changing the sim in nokia 6600? Pin
Aryo Handono23-Jul-07 3:59
professionalAryo Handono23-Jul-07 3:59 
AnswerRe: How to avoid re-entering the time on changing the sim in nokia 6600? Pin
eknoyon23-Jul-07 23:37
eknoyon23-Jul-07 23:37 
QuestionAll Harddisk is PNPDevice? Pin
god4k21-Jul-07 10:42
god4k21-Jul-07 10:42 
AnswerRe: All Harddisk is PNPDevice? Pin
S Keller22-Jul-07 10:46
S Keller22-Jul-07 10:46 
QuestionSlow ReadFile on DVD Drive Pin
rctodd20-Jul-07 4:58
rctodd20-Jul-07 4:58 
Hello -

I'm working on a program that scans files on a DVD created by our product (to calculate a CRC).

When using Windows Explorer to copy from the DVD (USB connection) to my C: drive, it takes about a minutes to copy a 1GB file.

My program, however, takes close to ten minutes to read the file (doing nothing else). The following snippet demonstrates the problem:

#define HEAP_SIZE  1000000  // 1,000,000 bytes
static BYTE g_buffer[HEAP_SIZE];
hFile = CreateFile( strThisFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);

while ( ReadFile( hFile, g_buffer, HEAP_SIZE, &nBytesRead, NULL))
{
   ++nNumberOfReads;

   if ( nBytesRead == 0)
   {
      break;
   }
}
Same results are observed when g_buffer is created using HeapAlloc and with varying HEAP_SIZE values.

Any hints as to why I'm seeing this are appreciated!

Thanks.
AnswerRe: Slow ReadFile on DVD Drive Pin
Luc Pattyn20-Jul-07 5:15
sitebuilderLuc Pattyn20-Jul-07 5:15 
GeneralRe: Slow ReadFile on DVD Drive Pin
rctodd20-Jul-07 6:04
rctodd20-Jul-07 6:04 
GeneralRe: Slow ReadFile on DVD Drive Pin
Luc Pattyn20-Jul-07 6:31
sitebuilderLuc Pattyn20-Jul-07 6:31 
GeneralRe: Slow ReadFile on DVD Drive Pin
rctodd20-Jul-07 6:58
rctodd20-Jul-07 6:58 
QuestionUSB Port detection and vendor id of usb attached device Pin
Sonani Prakash20-Jul-07 3:17
Sonani Prakash20-Jul-07 3:17 
AnswerRe: USB Port detection and vendor id of usb attached device Pin
S Keller22-Jul-07 10:53
S Keller22-Jul-07 10:53 
Questionparallel processing!!!!!! Pin
akhshay gandhi19-Jul-07 3:36
akhshay gandhi19-Jul-07 3:36 
AnswerRe: parallel processing!!!!!! Pin
Sebastian Schneider19-Jul-07 4:30
Sebastian Schneider19-Jul-07 4:30 
GeneralRe: parallel processing!!!!!! Pin
akhshay gandhi19-Jul-07 20:39
akhshay gandhi19-Jul-07 20:39 
GeneralRe: parallel processing!!!!!! Pin
Shouvik Das19-Jul-07 21:53
Shouvik Das19-Jul-07 21:53 
GeneralRe: parallel processing!!!!!! Pin
akhshay gandhi20-Jul-07 19:30
akhshay gandhi20-Jul-07 19:30 
GeneralRe: parallel processing!!!!!! Pin
Shouvik Das22-Jul-07 20:53
Shouvik Das22-Jul-07 20:53 
GeneralRe: parallel processing!!!!!! Pin
S Douglas30-Jul-07 0:23
professionalS Douglas30-Jul-07 0:23 
GeneralRe: parallel processing!!!!!! Pin
Shouvik Das30-Jul-07 0:32
Shouvik Das30-Jul-07 0:32 
GeneralRe: parallel processing!!!!!! Pin
S Douglas30-Jul-07 0:44
professionalS Douglas30-Jul-07 0:44 
GeneralRe: parallel processing!!!!!! Pin
Shouvik Das30-Jul-07 0:47
Shouvik Das30-Jul-07 0:47 
GeneralRe: parallel processing!!!!!! Pin
S Douglas30-Jul-07 0:57
professionalS Douglas30-Jul-07 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.