Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: New Project Ideas Pin
Michael P Butler12-Jul-04 2:33
Michael P Butler12-Jul-04 2:33 
GeneralRe: New Project Ideas Pin
Leyu12-Jul-04 5:12
Leyu12-Jul-04 5:12 
QuestionHow to trap file reading and writing in Shared Folder over Network? Pin
wangdave12-Jul-04 0:15
wangdave12-Jul-04 0:15 
AnswerRe: How to trap file reading and writing in Shared Folder over Network? Pin
David Crow12-Jul-04 2:41
David Crow12-Jul-04 2:41 
GeneralCoCreateInstanceEx Fails Pin
Member 11790412-Jul-04 0:10
Member 11790412-Jul-04 0:10 
GeneralAsynch Serial Comms Pin
louis11-Jul-04 23:59
louis11-Jul-04 23:59 
GeneralRe: Asynch Serial Comms Pin
palbano12-Jul-04 5:00
palbano12-Jul-04 5:00 
GeneralRe: Asynch Serial Comms Pin
louis12-Jul-04 21:42
louis12-Jul-04 21:42 
Thanks for the reply.

Yes, you're right CreateFile() and the WIN32 Comms API can be used.
My problem is that I receive data that is between 40 and 45 bytes in length far too late. The instrument on the other side sends the data at 9600 baud every 100ms. My program must receive it by 65ms.
At the moment the data is received it at approximately 80ms, which is way too late. I have used the CreateFile() and ReadFile() with the necessary time-out, threads and event operations to read the data.
I also wrote a utility in Delphi which seem to work fine (54ms). Unfortunately the code must be in C++ as it fits into a bigger Visual C++ program.

Any ideas.

Thank again.

GeneralFile delete dialog Pin
Anonymous11-Jul-04 23:25
Anonymous11-Jul-04 23:25 
GeneralRe: File delete dialog Pin
Anonymous11-Jul-04 23:33
Anonymous11-Jul-04 23:33 
GeneralRe: File delete dialog Pin
Mike Dimmick11-Jul-04 23:44
Mike Dimmick11-Jul-04 23:44 
GeneralRe: File delete dialog Pin
V.11-Jul-04 23:52
professionalV.11-Jul-04 23:52 
GeneralRe: File delete dialog Pin
ThatsAlok12-Jul-04 0:28
ThatsAlok12-Jul-04 0:28 
GeneralPropertySheet dissappearing Pin
emmatty11-Jul-04 22:45
emmatty11-Jul-04 22:45 
GeneralRe: PropertySheet dissappearing Pin
David Crow12-Jul-04 2:46
David Crow12-Jul-04 2:46 
Generalinclude any animated images(.gif) into richedit box.... Pin
mvnevis11-Jul-04 22:44
mvnevis11-Jul-04 22:44 
Generalwt DLL are Required Pin
Zeeshan Bilal11-Jul-04 21:16
Zeeshan Bilal11-Jul-04 21:16 
GeneralRe: wt DLL are Required Pin
Antony M Kancidrowski11-Jul-04 22:42
Antony M Kancidrowski11-Jul-04 22:42 
QuestionHow to change the font size and background of static text? Pin
Rajesh_K_Sharma11-Jul-04 20:25
Rajesh_K_Sharma11-Jul-04 20:25 
AnswerRe: How to change the font size and background of static text? Pin
P-Rex11-Jul-04 20:46
P-Rex11-Jul-04 20:46 
GeneralWhich function will add outside External Hardware to our Computer Pin
zahoor ahmed11-Jul-04 20:02
zahoor ahmed11-Jul-04 20:02 
GeneralRe: Which function will add outside External Hardware to our Computer Pin
Antti Keskinen11-Jul-04 20:59
Antti Keskinen11-Jul-04 20:59 
GeneralSysutil from Alok killed my computer dead Pin
quzi11-Jul-04 19:35
quzi11-Jul-04 19:35 
GeneralRe: Sysutil from Alok killed my computer dead Pin
Antti Keskinen11-Jul-04 21:08
Antti Keskinen11-Jul-04 21:08 
GeneralRe: Sysutil from Alok killed my computer dead Pin
quzi11-Jul-04 21:39
quzi11-Jul-04 21:39 

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.