Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About waveinopen Pin
Nishad S25-Oct-07 1:26
Nishad S25-Oct-07 1:26 
GeneralRe: About waveinopen Pin
David Crow25-Oct-07 2:58
David Crow25-Oct-07 2:58 
GeneralRe: About waveinopen Pin
Nishad S25-Oct-07 17:09
Nishad S25-Oct-07 17:09 
GeneralRe: About waveinopen Pin
minihotto25-Oct-07 3:13
minihotto25-Oct-07 3:13 
GeneralYou're riding the wrong train, it seems. Pin
jhwurmbach25-Oct-07 4:53
jhwurmbach25-Oct-07 4:53 
GeneralRe: You're riding the wrong train, it seems. Pin
Hamid_RT25-Oct-07 5:14
Hamid_RT25-Oct-07 5:14 
GeneralRe: About waveinopen Pin
Nishad S25-Oct-07 17:08
Nishad S25-Oct-07 17:08 
QuestionWhere I heve to set thread In my application?? Pin
ashishbhatt25-Oct-07 0:21
ashishbhatt25-Oct-07 0:21 
Hi All,,

I am using MFC Application with VS 2005.

In my application I am capturing the current screen by creating virtual window(by CreateWindow()) and apply hooks to that Window. In hooks I take the perticuler region which is going to be updated and convert it into the rectangle and send these messages to the my application. In My MFC class I store these all rectangles into the list.

And I retrived these list and capture from screen (using bitmap)with that perticular rectangle and compress that rectangle using JPEG.

Here I used Hooks as DLL in other project in my current workspace, so it gives me continues messages with that rectangles.

So , How can I set thread ( or Critical section or mutex) in my application and plz suggest me where i have to create Thread or on which method or class.

I am very sorry for very large description but it is good to understand.


Thanks in Advance.


Ashish Bhatt

AnswerRe: Where I heve to set thread In my application?? Pin
Mattias G25-Oct-07 3:56
Mattias G25-Oct-07 3:56 
AnswerRe: Where I heve to set thread In my application?? Pin
led mike25-Oct-07 4:17
led mike25-Oct-07 4:17 
QuestionProblem in retriving drivers fully qualified file name using Win32 API Pin
manish_c24-Oct-07 23:57
manish_c24-Oct-07 23:57 
AnswerRe: Problem in retriving drivers fully qualified file name using Win32 API Pin
JudyL_MD25-Oct-07 2:56
JudyL_MD25-Oct-07 2:56 
QuestionCRichEditCtrl mystery - selection, streaming and formatting Pin
Mattias G24-Oct-07 23:51
Mattias G24-Oct-07 23:51 
QuestionOpenProcess API returns NULL for pid 0 and 4. Pin
manish_c24-Oct-07 23:20
manish_c24-Oct-07 23:20 
AnswerRe: OpenProcess API returns NULL for pid 0 and 4. Pin
ThatsAlok25-Oct-07 0:58
ThatsAlok25-Oct-07 0:58 
QuestionRe: OpenProcess API returns NULL for pid 0 and 4. Pin
David Crow25-Oct-07 3:01
David Crow25-Oct-07 3:01 
Questionaccess c: drive Pin
p_24-Oct-07 23:04
p_24-Oct-07 23:04 
AnswerRe: access c: drive Pin
ThatsAlok25-Oct-07 2:14
ThatsAlok25-Oct-07 2:14 
GeneralRe: access c: drive [modified] Pin
jhwurmbach25-Oct-07 4:58
jhwurmbach25-Oct-07 4:58 
GeneralRe: access c: drive Pin
Waldermort25-Oct-07 5:11
Waldermort25-Oct-07 5:11 
GeneralRe: access c: drive Pin
jhwurmbach25-Oct-07 5:22
jhwurmbach25-Oct-07 5:22 
GeneralRe: access c: drive Pin
ThatsAlok25-Oct-07 5:22
ThatsAlok25-Oct-07 5:22 
GeneralRe: access c: drive Pin
jhwurmbach25-Oct-07 5:25
jhwurmbach25-Oct-07 5:25 
GeneralRe: access c: drive Pin
ThatsAlok25-Oct-07 5:38
ThatsAlok25-Oct-07 5:38 
GeneralRe: access c: drive Pin
jhwurmbach25-Oct-07 5:57
jhwurmbach25-Oct-07 5:57 

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.