Click here to Skip to main content
15,886,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory allocation problem?? Pin
Zac Howland28-Jul-06 9:16
Zac Howland28-Jul-06 9:16 
GeneralRe: Memory allocation problem?? Pin
pavanbabut28-Jul-06 9:32
pavanbabut28-Jul-06 9:32 
GeneralRe: Memory allocation problem?? Pin
Zac Howland28-Jul-06 9:46
Zac Howland28-Jul-06 9:46 
GeneralRe: Memory allocation problem?? Pin
pavanbabut1-Aug-06 5:32
pavanbabut1-Aug-06 5:32 
GeneralRe: Memory allocation problem?? Pin
Blake Miller1-Aug-06 12:44
Blake Miller1-Aug-06 12:44 
GeneralRe: Memory allocation problem?? Pin
pavanbabut2-Aug-06 9:40
pavanbabut2-Aug-06 9:40 
GeneralRe: Memory allocation problem?? Pin
Blake Miller2-Aug-06 10:29
Blake Miller2-Aug-06 10:29 
GeneralRe: Memory allocation problem?? Pin
pavanbabut2-Aug-06 13:48
pavanbabut2-Aug-06 13:48 
I did time comparison between the two functions fwrite and writefile for writing 800000 bytes of data and they both take same amount of time (among 20 trails).
I tried using 1 thread for writing all the 3 channels data using 10 buffers for each channel (once the IO records data into 1 buffer, it updates the corresponding buffer flag and as soon as it updates the write thread writes the corresponding 3 channels buffers to file and updates the correspoding flags to false. I tried this for 10 times for acquiring data about 5sec, in those 3 times it gave out files of same size and 3 times it gave out different size files (so I think it is missing some data in between while writing). Will check and try different methods of implementation and see if I can acheive it.

thanks,
-Pavan
Questionnewbie requires guidance on named pipe application Pin
eeyor66628-Jul-06 6:31
eeyor66628-Jul-06 6:31 
QuestionHow to set a JPG image to a dialog background ? Pin
Vinod Sankaranarayanan28-Jul-06 6:25
Vinod Sankaranarayanan28-Jul-06 6:25 
AnswerRe: How to set a JPG image to a dialog background ? Pin
Hamid_RT28-Jul-06 6:57
Hamid_RT28-Jul-06 6:57 
GeneralRe: How to set a JPG image to a dialog background ? Pin
Vinod Sankaranarayanan28-Jul-06 19:21
Vinod Sankaranarayanan28-Jul-06 19:21 
GeneralRe: How to set a JPG image to a dialog background ? Pin
Hamid_RT28-Jul-06 21:55
Hamid_RT28-Jul-06 21:55 
Questiontootip for win32 window Pin
Manjunath S28-Jul-06 6:17
Manjunath S28-Jul-06 6:17 
AnswerRe: tootip for win32 window Pin
David Crow28-Jul-06 7:18
David Crow28-Jul-06 7:18 
AnswerRe: tootip for win32 window Pin
Hamid_RT28-Jul-06 7:20
Hamid_RT28-Jul-06 7:20 
QuestionHow to read/write a word from/to a certain physical address in the VC++ 6.0 environment? Pin
zhoufanking28-Jul-06 5:57
zhoufanking28-Jul-06 5:57 
QuestionRe: How to read/write a word from/to a certain physical address in the VC++ 6.0 environment? Pin
David Crow28-Jul-06 7:13
David Crow28-Jul-06 7:13 
AnswerRe: How to read/write a word from/to a certain physical address in the VC++ 6.0 environment? Pin
zhoufanking28-Jul-06 12:52
zhoufanking28-Jul-06 12:52 
GeneralRe: How to read/write a word from/to a certain physical address in the VC++ 6.0 environment? Pin
Gary R. Wheeler28-Jul-06 16:08
Gary R. Wheeler28-Jul-06 16:08 
AnswerRe: How to read/write a word from/to a certain physical address in the VC++ 6.0 environment? Pin
A_Fa28-Jul-06 18:51
A_Fa28-Jul-06 18:51 
QuestionVPN Pin
Sean Dastouri28-Jul-06 5:49
Sean Dastouri28-Jul-06 5:49 
AnswerRe: VPN Pin
David Crow28-Jul-06 7:11
David Crow28-Jul-06 7:11 
QuestionRefresh data under SQl server 2000 problem Pin
mikobi28-Jul-06 5:17
mikobi28-Jul-06 5:17 
Questionpacket Filtering API fails Pin
_tasleem28-Jul-06 4:06
_tasleem28-Jul-06 4:06 

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.