Click here to Skip to main content
15,888,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to read a file continuously using CFile Pin
Krauze6-Sep-10 3:56
Krauze6-Sep-10 3:56 
GeneralRe: how to read a file continuously using CFile Pin
Cedric Moonen6-Sep-10 4:21
Cedric Moonen6-Sep-10 4:21 
GeneralRe: how to read a file continuously using CFile Pin
Krauze6-Sep-10 4:44
Krauze6-Sep-10 4:44 
AnswerRe: how to read a file continuously using CFile [modified] Pin
Aescleal6-Sep-10 4:58
Aescleal6-Sep-10 4:58 
AnswerRe: how to read a file continuously using CFile Pin
Luc Pattyn6-Sep-10 5:19
sitebuilderLuc Pattyn6-Sep-10 5:19 
GeneralRe: how to read a file continuously using CFile Pin
Aescleal6-Sep-10 6:18
Aescleal6-Sep-10 6:18 
AnswerRe: how to read a file continuously using CFile Pin
Luc Pattyn6-Sep-10 6:53
sitebuilderLuc Pattyn6-Sep-10 6:53 
AnswerRe: how to read a file continuously using CFile Pin
Gurux Ltd7-Sep-10 3:39
Gurux Ltd7-Sep-10 3:39 
Hi
Best solution is listen events and read file after the file has changed.

If you read file continously, you waste CPU time.

If you want to see code sample how to do this, see:

https://gurux.svn.sourceforge.net/svnroot/gurux/GXCom/GXMedias/GuruxFile

GuruxFile is ATL component that listens selected file or folder and notifies when file changed.

Happy coding,

Mikko
http://www.gurux.org
AnswerRe: how to read a file continuously using CFile Pin
MatrixDud7-Sep-10 3:51
MatrixDud7-Sep-10 3:51 
AnswerRe: how to read a file continuously using CFile Pin
ken_m7-Sep-10 12:39
ken_m7-Sep-10 12:39 
Questiontr1 is_member_function_pointer Pin
Doc Lobster6-Sep-10 1:08
Doc Lobster6-Sep-10 1:08 
AnswerRe: tr1 is_member_function_pointer Pin
Niklas L6-Sep-10 1:34
Niklas L6-Sep-10 1:34 
AnswerRe: tr1 is_member_function_pointer Pin
Aescleal6-Sep-10 1:38
Aescleal6-Sep-10 1:38 
QuestionHow to use ClientDC::GetPixel to get the pixel's RGB value when I call TextOut? Pin
wangningyu5-Sep-10 23:18
wangningyu5-Sep-10 23:18 
QuestionRe: How to use ClientDC::GetPixel to get the pixel's RGB value when I call TextOut? Pin
CPallini5-Sep-10 23:58
mveCPallini5-Sep-10 23:58 
AnswerRe: How to use ClientDC::GetPixel to get the pixel's RGB value when I call TextOut? Pin
wangningyu6-Sep-10 2:35
wangningyu6-Sep-10 2:35 
QuestionRe: How to use ClientDC::GetPixel to get the pixel's RGB value when I call TextOut? Pin
CPallini6-Sep-10 2:43
mveCPallini6-Sep-10 2:43 
Questionenumerating active TCP/UDP connections Pin
Chesnokov Yuriy5-Sep-10 20:27
professionalChesnokov Yuriy5-Sep-10 20:27 
AnswerRe: enumerating active TCP/UDP connections Pin
CPallini6-Sep-10 0:15
mveCPallini6-Sep-10 0:15 
Questionerror C2872: 'IAccessible' : ambiguous symbol Pin
learningvisualc5-Sep-10 20:12
learningvisualc5-Sep-10 20:12 
AnswerRe: error C2872: 'IAccessible' : ambiguous symbol Pin
«_Superman_»5-Sep-10 21:13
professional«_Superman_»5-Sep-10 21:13 
AnswerRe: error C2872: 'IAccessible' : ambiguous symbol Pin
Cool_Dev5-Sep-10 21:13
Cool_Dev5-Sep-10 21:13 
QuestionMFC dialog box blocked while threads are running... Pin
mashhur5-Sep-10 14:13
mashhur5-Sep-10 14:13 
AnswerRe: MFC dialog box blocked while threads are running... Pin
Dave Calkins5-Sep-10 17:13
Dave Calkins5-Sep-10 17:13 
GeneralRe: MFC dialog box blocked while threads are running... Pin
mashhur5-Sep-10 19:11
mashhur5-Sep-10 19:11 

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.