Click here to Skip to main content
15,913,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to prevent execution of multiple instances of my application ? Pin
kapardhi30-Nov-08 22:37
kapardhi30-Nov-08 22:37 
AnswerRe: How to prevent execution of multiple instances of my application ? Pin
_AnsHUMAN_ 30-Nov-08 22:43
_AnsHUMAN_ 30-Nov-08 22:43 
AnswerRe: How to prevent execution of multiple instances of my application ? Pin
David Crow1-Dec-08 10:48
David Crow1-Dec-08 10:48 
Questionextending or customizing printer dialog progrmmatically in VC++[modified] Pin
Member 372884130-Nov-08 21:45
Member 372884130-Nov-08 21:45 
AnswerRe: extending or customizing printer dialog progrmmatically in VC+ Pin
SandipG 30-Nov-08 22:03
SandipG 30-Nov-08 22:03 
GeneralRe: extending or customizing printer dialog progrmmatically in VC+ Pin
Member 372884114-Dec-08 17:10
Member 372884114-Dec-08 17:10 
QuestionDesktop screen shot function failed in RDP Pin
onlyjaypatel30-Nov-08 20:59
onlyjaypatel30-Nov-08 20:59 
AnswerRe: Desktop screen shot function failed in RDP Pin
Code-o-mat1-Dec-08 5:53
Code-o-mat1-Dec-08 5:53 
Well, my guess would be that the desktop you are making screen shots of simply doesn't exist when there's noone looking at it, understand that as in, no remote desktop connection is made. I think when you connect to the RDP server it will create something like a virtual desktop for you and will close and destroy it once you are done using RDP and log out. So my guess is that you get NULL when you call GetDesktopWindow or maybe you get 0 for its width and height, or you just don't get a DC for it. Does this make any sense?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <

QuestionRe: Desktop screen shot function failed in RDP Pin
David Crow1-Dec-08 10:53
David Crow1-Dec-08 10:53 
GeneralRe: Desktop screen shot function failed in RDP Pin
onlyjaypatel1-Dec-08 18:06
onlyjaypatel1-Dec-08 18:06 
QuestionButton TabStop Pin
cpvc++30-Nov-08 19:59
cpvc++30-Nov-08 19:59 
AnswerRe: Button TabStop Pin
Hamid_RT30-Nov-08 20:21
Hamid_RT30-Nov-08 20:21 
GeneralRe: Button TabStop Pin
cpvc++30-Nov-08 20:24
cpvc++30-Nov-08 20:24 
GeneralRe: Button TabStop Pin
Hamid_RT30-Nov-08 20:30
Hamid_RT30-Nov-08 20:30 
GeneralRe: Button TabStop Pin
User 21559730-Nov-08 22:54
User 21559730-Nov-08 22:54 
JokeRe: Button TabStop Pin
_AnsHUMAN_ 30-Nov-08 20:23
_AnsHUMAN_ 30-Nov-08 20:23 
GeneralRe: Button TabStop Pin
cpvc++30-Nov-08 20:24
cpvc++30-Nov-08 20:24 
GeneralRe: Button TabStop Pin
Hamid_RT30-Nov-08 20:27
Hamid_RT30-Nov-08 20:27 
GeneralRe: Button TabStop Pin
_AnsHUMAN_ 30-Nov-08 20:38
_AnsHUMAN_ 30-Nov-08 20:38 
GeneralRe: Button TabStop Pin
Hamid_RT30-Nov-08 20:51
Hamid_RT30-Nov-08 20:51 
GeneralRe: Button TabStop Pin
cpvc++30-Nov-08 20:57
cpvc++30-Nov-08 20:57 
GeneralRe: Button TabStop Pin
_AnsHUMAN_ 30-Nov-08 21:36
_AnsHUMAN_ 30-Nov-08 21:36 
Questionget montior resolution.....??? Pin
shaina223130-Nov-08 19:44
shaina223130-Nov-08 19:44 
AnswerRe: get montior resolution.....??? Pin
Perspx30-Nov-08 20:01
Perspx30-Nov-08 20:01 
AnswerRe: get montior resolution.....??? Pin
Hamid_RT30-Nov-08 20:22
Hamid_RT30-Nov-08 20:22 

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.