Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining efficiency / most-efficient algorithm Pin
Mike the Red9-Jun-09 2:24
Mike the Red9-Jun-09 2:24 
GeneralRe: Determining efficiency / most-efficient algorithm Pin
Stuart Dootson9-Jun-09 2:29
professionalStuart Dootson9-Jun-09 2:29 
AnswerRe: Determining efficiency / most-efficient algorithm Pin
led mike9-Jun-09 4:23
led mike9-Jun-09 4:23 
AnswerRe: Determining efficiency / most-efficient algorithm Pin
Chris Losinger9-Jun-09 5:02
professionalChris Losinger9-Jun-09 5:02 
Questionquestion regarding sockets Pin
mkrtchyanmarianna9-Jun-09 1:01
mkrtchyanmarianna9-Jun-09 1:01 
QuestionRe: question regarding sockets Pin
CPallini9-Jun-09 1:50
mveCPallini9-Jun-09 1:50 
AnswerRe: question regarding sockets Pin
mkrtchyanmarianna9-Jun-09 2:14
mkrtchyanmarianna9-Jun-09 2:14 
GeneralRe: question regarding sockets Pin
CPallini9-Jun-09 2:20
mveCPallini9-Jun-09 2:20 
QuestionLoadLibraryA & LoadLibraryW Pin
chirag_chauhan8-Jun-09 23:05
chirag_chauhan8-Jun-09 23:05 
AnswerRe: LoadLibraryA & LoadLibraryW Pin
Pops80028-Jun-09 23:18
Pops80028-Jun-09 23:18 
AnswerRe: LoadLibraryA & LoadLibraryW Pin
«_Superman_»8-Jun-09 23:24
professional«_Superman_»8-Jun-09 23:24 
GeneralRe: LoadLibraryA & LoadLibraryW Pin
chirag_chauhan8-Jun-09 23:31
chirag_chauhan8-Jun-09 23:31 
GeneralRe: LoadLibraryA & LoadLibraryW Pin
«_Superman_»8-Jun-09 23:34
professional«_Superman_»8-Jun-09 23:34 
AnswerRe: LoadLibraryA & LoadLibraryW Pin
KarstenK8-Jun-09 23:46
mveKarstenK8-Jun-09 23:46 
QuestionError while trying to free memory allocated using malloc Pin
dcj19848-Jun-09 23:04
dcj19848-Jun-09 23:04 
AnswerRe: Error while trying to free memory allocated using malloc Pin
CPallini8-Jun-09 23:10
mveCPallini8-Jun-09 23:10 
AnswerRe: Error while trying to free memory allocated using malloc Pin
chirag_chauhan8-Jun-09 23:11
chirag_chauhan8-Jun-09 23:11 
AnswerRe: Error while trying to free memory allocated using malloc Pin
«_Superman_»8-Jun-09 23:28
professional«_Superman_»8-Jun-09 23:28 
AnswerRe: Error while trying to free memory allocated using malloc Pin
Code-o-mat9-Jun-09 0:41
Code-o-mat9-Jun-09 0:41 
QuestionIntroducing mouse delay (local machine) Pin
Kannan Ramanathan8-Jun-09 20:52
Kannan Ramanathan8-Jun-09 20:52 
AnswerRe: Introducing mouse delay (local machine) Pin
«_Superman_»8-Jun-09 22:37
professional«_Superman_»8-Jun-09 22:37 
AnswerRe: Introducing mouse delay (local machine) [modified] Pin
Code-o-mat9-Jun-09 0:10
Code-o-mat9-Jun-09 0:10 
How about this approach:
-you run a thread which contains a queue of delayed mouse messages, the queue could contain a timestamp for each message and the thread would check the first message's timestamp and if if the time has come, it would inject it back to the system and remove it from its own queue.
-In your mouse hook you would need a way to be able to determine if the incoming message is a delayed one or not, if it is, pass it on, if it is not a delayed message then do not pass it on but put it in the other thread's queue with the right timestamp (for example: now + delay).

It's just an idea, i haven't tried this nor have an idea how it would perform.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

modified on Tuesday, June 9, 2009 6:22 AM

QuestionThe LCN of a particular volume (say G: drive) will start with 0x00...? Pin
krish_kumar8-Jun-09 20:49
krish_kumar8-Jun-09 20:49 
QuestionFinding a substring from a large string Pin
V K 28-Jun-09 20:49
V K 28-Jun-09 20:49 
AnswerRe: Finding a substring from a large string Pin
Cedric Moonen8-Jun-09 21:08
Cedric Moonen8-Jun-09 21:08 

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.