Click here to Skip to main content
15,921,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Web page download without images Pin
sonu.saini.76@gmail.com15-Mar-09 17:35
sonu.saini.76@gmail.com15-Mar-09 17:35 
GeneralRe: Web page download without images Pin
sonu.saini.76@gmail.com1-Apr-09 22:18
sonu.saini.76@gmail.com1-Apr-09 22:18 
QuestionCan ShellExecute open a file in memory or a memory map file? Pin
SearchDream15-Mar-09 0:05
SearchDream15-Mar-09 0:05 
AnswerRe: Can ShellExecute open a file in memory or a memory map file? Pin
Stuart Dootson15-Mar-09 0:31
professionalStuart Dootson15-Mar-09 0:31 
GeneralRe: Can ShellExecute open a file in memory or a memory map file? Pin
SearchDream15-Mar-09 0:48
SearchDream15-Mar-09 0:48 
GeneralRe: Can ShellExecute open a file in memory or a memory map file? Pin
Stuart Dootson15-Mar-09 1:40
professionalStuart Dootson15-Mar-09 1:40 
GeneralRe: Can ShellExecute open a file in memory or a memory map file? Pin
SearchDream15-Mar-09 2:06
SearchDream15-Mar-09 2:06 
AnswerRe: Can ShellExecute open a file in memory or a memory map file? Pin
Nemanja Trifunovic16-Mar-09 9:17
Nemanja Trifunovic16-Mar-09 9:17 
QuestionHow to get the current IE webpage's source code? Pin
cs6008914-Mar-09 23:36
cs6008914-Mar-09 23:36 
AnswerRe: How to get the current IE webpage's source code? Pin
«_Superman_»15-Mar-09 3:05
professional«_Superman_»15-Mar-09 3:05 
RantRe: How to get the current IE webpage's source code? Pin
Iain Clarke, Warrior Programmer15-Mar-09 6:34
Iain Clarke, Warrior Programmer15-Mar-09 6:34 
RantDoc /View Debugging. Pin
grassrootkit14-Mar-09 20:38
grassrootkit14-Mar-09 20:38 
GeneralRe: Doc /View Debugging. Pin
Stuart Dootson14-Mar-09 23:40
professionalStuart Dootson14-Mar-09 23:40 
GeneralRe: Doc /View Debugging. Pin
grassrootkit15-Mar-09 0:02
grassrootkit15-Mar-09 0:02 
QuestionRe: Doc /View Debugging. Pin
grassrootkit15-Mar-09 0:36
grassrootkit15-Mar-09 0:36 
AnswerRe: Doc /View Debugging. Pin
Stuart Dootson15-Mar-09 0:45
professionalStuart Dootson15-Mar-09 0:45 
GeneralRe: Doc /View Debugging. Pin
grassrootkit15-Mar-09 1:13
grassrootkit15-Mar-09 1:13 
GeneralRe: Doc /View Debugging. Pin
Stuart Dootson15-Mar-09 1:39
professionalStuart Dootson15-Mar-09 1:39 
QuestionActiveX call OLEDraw to draw Flash(swf) Pin
l_arrow14-Mar-09 18:28
l_arrow14-Mar-09 18:28 
QuestionSerial port read latency (SERIOUS - NEED HELP FAST!) Pin
PeniWize14-Mar-09 14:24
PeniWize14-Mar-09 14:24 
AnswerRe: Serial port read latency (SERIOUS - NEED HELP FAST!) Pin
Luc Pattyn14-Mar-09 15:21
sitebuilderLuc Pattyn14-Mar-09 15:21 
GeneralRe: Serial port read latency (SERIOUS - NEED HELP FAST!) Pin
PeniWize14-Mar-09 20:48
PeniWize14-Mar-09 20:48 
Hi Luc,

I don’t have control over the protocol specification so I can’t change things like the baud rate, word size, parity, or timing constraints. It is an 8-bit binary protocol so any value in the range [0, 255] may be transmitted or received. It’s an old industry standard protocol used for communication between industrial devices. Unfortunately I can’t go into much detail because I’ve signed an NDA.

The only way I can determine where one packet ends and the next one starts is by measuring 5ms or more between two characters. If there is no next packet then I just need to detect when 5ms passes after the last character is received. This is usually easy to manage because packets are typically transmitted in bursts with less than 1ms between characters.

If there were a way to configure Windows (or serial.sys) to return the data it has received in a more timely fashion to the process waiting for it then I’d have a solution. Ideally, I’d like to be able to rely on the driver to detect the 5ms inter-character period set with COMTIMEOUTS, but trying that resulted in my process receiving the data at least 80ms after it arrived at the PC. It was more like 100ms on average.
GeneralRe: Serial port read latency (SERIOUS - NEED HELP FAST!) Pin
Luc Pattyn15-Mar-09 4:49
sitebuilderLuc Pattyn15-Mar-09 4:49 
GeneralRe: Serial port read latency (SERIOUS - NEED HELP FAST!) Pin
PeniWize15-Mar-09 10:13
PeniWize15-Mar-09 10:13 
GeneralRe: Serial port read latency (SERIOUS - NEED HELP FAST!) Pin
CPallini14-Mar-09 23:59
mveCPallini14-Mar-09 23:59 

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.