Click here to Skip to main content
15,923,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: What is the size of an integer? Pin
David Crow28-Dec-05 6:12
David Crow28-Dec-05 6:12 
AnswerRe: What is the size of an integer? Pin
Gary R. Wheeler28-Dec-05 6:51
Gary R. Wheeler28-Dec-05 6:51 
QuestionRe: What is the size of an integer? Pin
David Crow28-Dec-05 7:49
David Crow28-Dec-05 7:49 
GeneralRe: What is the size of an integer? Pin
vikas amin28-Dec-05 0:50
vikas amin28-Dec-05 0:50 
GeneralRe: What is the size of an integer? Pin
Prakash Nadar28-Dec-05 5:33
Prakash Nadar28-Dec-05 5:33 
GeneralRe: What is the size of an integer? Pin
segment_fault3-Jan-06 17:51
segment_fault3-Jan-06 17:51 
GeneralRe: What is the size of an integer? Pin
Prakash Nadar3-Jan-06 19:12
Prakash Nadar3-Jan-06 19:12 
QuestionHow to receive a very large data via Serial COM Port ? Pin
QuangDien27-Dec-05 20:44
QuangDien27-Dec-05 20:44 
Hi everybody,

I have a sensor to capture the fingerprint image and then send to PC via Serial COM Port. And I use MSCOMM Control 6.0 for transfering & receiving data in Serial COM Port. Here below is the structure of the data which the sensor send to me :

HEADER : 6 bytes
DATA : Fingerprint Image 280 x 240 = 67200 bytes !!!
FOOTER : 4 bytes

But the buffer of MSCOMM Control is only 32768 ( = 2^15 ). Therefore, now my problem is the size of that image is too large to receive in buffer. The buffer is overflow !!! In this situation, I think there are 3 ways to solve it :

+ Incearse the size of the MSCOMM's buffer.
+ Use other class for transfering & receiving data in Serial COM Port with the buffer enough large.
+ Parallel processing : doing both receiving data from sensor and saving data from buffer to other place ... simultaneously.

But I don't know how to implement above methods !!! Please kindly help me or you can show me other solutions ... THIS IS MY FINAL PROJECT FOR GRADUATING MY UNIVERSITY and the deadline is coming nearly, so, again, please help me !!!
Thank you very much !!!
Best regards,

Quang Dien
Email to me : quangdien12jan@yahoo.com
AnswerRe: How to receive a very large data via Serial COM Port ? Pin
Gary R. Wheeler28-Dec-05 6:40
Gary R. Wheeler28-Dec-05 6:40 
QuestionProblem in using TCHAR Pin
G Haranadh27-Dec-05 20:23
G Haranadh27-Dec-05 20:23 
AnswerRe: Problem in using TCHAR Pin
Owner drawn27-Dec-05 20:44
Owner drawn27-Dec-05 20:44 
GeneralRe: Problem in using TCHAR Pin
G Haranadh27-Dec-05 20:53
G Haranadh27-Dec-05 20:53 
GeneralRe: Problem in using TCHAR Pin
Owner drawn27-Dec-05 21:01
Owner drawn27-Dec-05 21:01 
GeneralRe: Problem in using TCHAR Pin
sunit527-Dec-05 22:50
sunit527-Dec-05 22:50 
AnswerRe: Problem in using TCHAR Pin
Prakash Nadar27-Dec-05 21:24
Prakash Nadar27-Dec-05 21:24 
AnswerRe: Problem in using TCHAR Pin
vikas amin27-Dec-05 22:48
vikas amin27-Dec-05 22:48 
GeneralRe: Problem in using TCHAR Pin
sunit527-Dec-05 22:52
sunit527-Dec-05 22:52 
GeneralRe: Problem in using TCHAR Pin
vikas amin27-Dec-05 23:13
vikas amin27-Dec-05 23:13 
GeneralRe: Problem in using TCHAR Pin
sunit527-Dec-05 23:16
sunit527-Dec-05 23:16 
GeneralRe: Problem in using TCHAR Pin
ThatsAlok28-Dec-05 0:45
ThatsAlok28-Dec-05 0:45 
GeneralRe: Problem in using TCHAR Pin
sunit528-Dec-05 1:25
sunit528-Dec-05 1:25 
GeneralRe: Problem in using TCHAR Pin
Prakash Nadar28-Dec-05 5:37
Prakash Nadar28-Dec-05 5:37 
GeneralRe: Problem in using TCHAR Pin
sunit528-Dec-05 20:09
sunit528-Dec-05 20:09 
AnswerRe: Problem in using TCHAR Pin
Gary R. Wheeler28-Dec-05 6:43
Gary R. Wheeler28-Dec-05 6:43 
GeneralRe: Gr8, Now working fine. Thanks for all. :) Pin
G Haranadh28-Dec-05 7:05
G Haranadh28-Dec-05 7:05 

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.