Hi, I'm working with threading and i'm having a little trouble exiting the threads.
I start up two threads using CreateThread.
The program runs, now i wish to stop the threads.
So the program is something like this
load program
create thread 1
create thread 2
wait for msg
if user clicks...
Hi, i'm currently using the CreateFile and ReadFile functions in my program. I need to read in large chunks of data really fast. But i'm having some trouble with the functions.
videoYUV=CreateFile("C:\\Documents and Settings\\mliu\\Desktop\\YUVPLAYER\\pond.yuv", GENERIC_READ...
Hi, I'm trying to use an array to hold some information from a file. Here is my code.
byte * buffer[30];
for(int j=0;j<30;i++)
{
buffer[j]=(byte *)malloc(518400);
}
//then i open a file-this part has no problems
ReadFile(videoYUV,buffer[1],518400,&bytesread,&gOverLapped);
The read in...
Hi, I currenty looking at making a multimedia player which plays DV format videos. I have been experimenting with different ways to read in the file. i.e fread, ReadFile, mmioRead.
But these functions seem to have trouble when it comes to large files(currently using a 300 meg file for testing)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.