473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to get pixel color while in windows logon screen mode

Hi,
Is it possible to getpixel color in vc++/c++ while windows logon screen mode.
If possible means, can You tel me the way to get
Jan 27 '10 #1
8 3216
RedSon
5,000 Expert 4TB
What is windows "logon screen mode"?

Perhaps you should tell us what you are trying to do, and why you are trying to do it.
Jan 27 '10 #2
johny10151981
1,059 1GB
I dont know whether it is possible or not.

But in windows, before user logging in, only services get started, if they are enable as automatic.
check
control panel>administrative tools>services for all running services.

What you can try is create a service that will take screen shot after it get loaded.

a service get loaded before user log in. I dont know whether it would wok or not. at least you can try :)

Regards,
Johny
Jan 27 '10 #3
RedSon
5,000 Expert 4TB
I don't know how you could get the device context of the login window.

http://msdn.microsoft.com/en-us/libr...09(VS.85).aspx
Jan 27 '10 #4
johny10151981
1,059 1GB
I dont know it either. But it seems that windows get that the device context in order to generate log in window.

Even after you log out (not shutdown)of window you still have that screen.

I am thinking another plan(whatever you do is upto you. I wont take any responsibility of what i have said):

windows system sethc.exe in :\windows\system32\. it get run when you press shift button 5 time on a row.
1. what you can do is write your program normally to get screen shot
2. take a backup of sethc.exe say as sethc.exe.bk
3. now rename you program as sethc.exe and copy it to :/windows/system32/
4. now restart the machine. when log in screen is ready press shift 5 times on a row.

develop the program in such a way that it wont create any window of its won. it will take the snap shot and save it somewhere.

I still dont know whether it will work or not.

More over i dont do this experiment with original version of windows :)

make your choice :)

best regards,
johny
Jan 27 '10 #5
RedSon
5,000 Expert 4TB
I would be surprised if that worked. But if it did that would be cool.
Jan 27 '10 #6
johny10151981
1,059 1GB



Check this out :)
Jan 28 '10 #7
RedSon
5,000 Expert 4TB
Did you try just hitting the print screen button at that time as well?
Jan 28 '10 #8
johny10151981
1,059 1GB
I only did hit printscreen button. Now I am 100% sure it is possible :)

If it is possible by printscreen button then it must have to be possible by gdi library..
Jan 28 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: grogerteal | last post by:
Hello, I am pretty new to programming and would like someone to help me get started on the program that I need to make. I hope it is not hard to do, but what I would like is a simple app that...
2
by: Joergen Bech | last post by:
(trying again with a shorter message - hope anyone has any ideas)... Trying to get my aspx application to run on a remote server beyond my control (except ftp access). First time I access an...
13
by: Martijn Mulder | last post by:
I try to define a line with the length of 1 unit (1 pixel) that is, in fact, just a point on the screen. But when I draw it with a wide pen with the appropriate StartCap and EndCap (Round), it will...
5
by: drummerpunk10 | last post by:
Sorry if this is off topic, I haven't really used this forum a lot so I don't know where to put it. Anyways I have a game application that runs off a list games and users on a file, that I built in...
4
by: Preben Zacho | last post by:
Hi there The scenario I got is this: I have created a Windows application in VS and I want to deploy it to another machine running Windows Vista. Since I have no control over this other machine,...
2
by: =?Utf-8?B?Q29saW4=?= | last post by:
Both user names on my laptop have vanished from the Windows startup screen. If I try ctrl-alt-del option it wants a password which has never been set. I can't logon as Administrator either. Can I...
0
by: =?Utf-8?B?S2VpdGggVw==?= | last post by:
My sons computer is password protected and his Logitech wireless keyboard does not work @ the windows logon screen. The mouse works but that is it. I plugged in a ps2 keyboard and it works when i'm...
4
by: Martijn Mulder | last post by:
When I zoom in on an image, GDI+ automatically smoothens the edges between the pixels. I am looking for a way to see the individual pixels as squares in the enlarged image, like in MSPaint. I...
4
by: cjstuttle | last post by:
Could anyone help me, I'm a python noob and need some help. im trying to find some code that will, given a screen co-ordinate, will give me the colour of that pixel in RGB. i have found a lot about...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.