Click here to Skip to main content
15,883,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Q: How to detect and remove unused resource strings? Pin
rbid15-May-05 8:00
rbid15-May-05 8:00 
GeneralRe: Q: How to detect and remove unused resource strings? Pin
Ravi Bhavnani15-May-05 8:03
professionalRavi Bhavnani15-May-05 8:03 
GeneralHelp !! Pin
Sreekanth Muralidharan13-May-05 21:58
Sreekanth Muralidharan13-May-05 21:58 
GeneralRe: Help !! Pin
ThatsAlok13-May-05 23:38
ThatsAlok13-May-05 23:38 
GeneralRe: Help !! Pin
Anonymous15-May-05 17:10
Anonymous15-May-05 17:10 
GeneralRe: Help !! Pin
Sreekanth Muralidharan15-May-05 17:12
Sreekanth Muralidharan15-May-05 17:12 
GeneralRe: Help !! Pin
ThatsAlok15-May-05 18:08
ThatsAlok15-May-05 18:08 
GeneralRe: Help !! Pin
Sreekanth Muralidharan15-May-05 19:01
Sreekanth Muralidharan15-May-05 19:01 
Hi Alok
I am not using any APIs for this. I am using the CFile class in MFC for managing the file operations. The file operations are simple read and write and the file has the contents downloaded via a USB interface.
The flow is somewhat like this:
1. When user presses PLAY button, a play thread is started.
2. The PLAY function opens the file and assigns the handle to a CFile object.
3. When he presses STOP the thread is terminated and the file is closed.

The play thread goes on like this:
1. Read a block of 64 bytes from the file.
2. Write the block to the USB handle.

NOTE: The file is made by a separate module in the same application. So the application which downloads the USB contents is independant of the module which reads from it.

Expecting your help again....

Sreekanth Muralidharan,
Corporate Systems Consultant [Embedded Systems],
INDIA
GeneralRe: Help !! Pin
ThatsAlok16-May-05 2:37
ThatsAlok16-May-05 2:37 
GeneralRe: Help !! Pin
Sreekanth Muralidharan16-May-05 18:10
Sreekanth Muralidharan16-May-05 18:10 
GeneralRe: Help !! Pin
ThatsAlok16-May-05 20:15
ThatsAlok16-May-05 20:15 
GeneralRe: Help !! Pin
Sreekanth Muralidharan16-May-05 22:38
Sreekanth Muralidharan16-May-05 22:38 
GeneralRe: Help !! Pin
ThatsAlok16-May-05 22:52
ThatsAlok16-May-05 22:52 
GeneralRe: Help !! Pin
Sreekanth Muralidharan16-May-05 23:28
Sreekanth Muralidharan16-May-05 23:28 
GeneralRe: Help !! Pin
ThatsAlok17-May-05 0:29
ThatsAlok17-May-05 0:29 
GeneralRe: Help !! Pin
Sreekanth Muralidharan18-May-05 17:59
Sreekanth Muralidharan18-May-05 17:59 
GeneralRe: Help !! Pin
ThatsAlok18-May-05 18:12
ThatsAlok18-May-05 18:12 
GeneralRe: Help !! Pin
Sreekanth Muralidharan18-May-05 18:15
Sreekanth Muralidharan18-May-05 18:15 
GeneralRe: Help !! Pin
ThatsAlok18-May-05 18:42
ThatsAlok18-May-05 18:42 
GeneralRe: Help !! Pin
Sreekanth Muralidharan18-May-05 19:19
Sreekanth Muralidharan18-May-05 19:19 
GeneralRe: Help !! Pin
ThatsAlok18-May-05 19:25
ThatsAlok18-May-05 19:25 
GeneralRe: Help !! Pin
Sreekanth Muralidharan18-May-05 19:28
Sreekanth Muralidharan18-May-05 19:28 
GeneralRe: Help !! Pin
Sreekanth Muralidharan18-May-05 23:14
Sreekanth Muralidharan18-May-05 23:14 
GeneralRe: Help !! Pin
ThatsAlok18-May-05 23:29
ThatsAlok18-May-05 23:29 
GeneralRe: Help !! Pin
Sreekanth Muralidharan19-May-05 17:10
Sreekanth Muralidharan19-May-05 17:10 

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.