It should not have the UI and also it should run as a service,so that it can screenshots. Could you say me how to add the above codes inside the windows service application.
Printable View
It should not have the UI and also it should run as a service,so that it can screenshots. Could you say me how to add the above codes inside the windows service application.
Services have restricted rights, this is because the philosophy behind it is different from a normal executable. One of those restrictions is the interaction with the desktop/UI. The restrictions also differ per OS. W7 is more strict than XP for example. Are you sure that a normal service is allowed to interact with the desktop in a way that it can take snapshots ?
While using the above codes in the windows service application.:
Am getting the following error:
#error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
While using the above codes in the windows service application.:
Am getting the following error:
#error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
As I already wrote you don't need MFC code in your service. Period.
And FYI: http://social.msdn.microsoft.com/For...-4df89896f6eb/
I'd be careful before we help somebody write spyware without knowing a bit more about him.
I have saved the image under.Jpg format. I want to save the image as blob in MYSql database.
How to convert .Jpg file to blob data.. Help with the code i have attached.