Click here to Skip to main content
15,918,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow can i Transfer a PictureBox picture to an array of bytes? Pin
asd17533-Dec-03 7:41
asd17533-Dec-03 7:41 
GeneralDao DB Pin
rfraser3-Dec-03 6:11
rfraser3-Dec-03 6:11 
GeneralRe: Dao DB Pin
RChin3-Dec-03 7:33
RChin3-Dec-03 7:33 
GeneralRe: Dao DB Pin
GeMe_Hendrix3-Dec-03 11:31
GeMe_Hendrix3-Dec-03 11:31 
GeneralRe: Dao DB Pin
RChin3-Dec-03 12:54
RChin3-Dec-03 12:54 
GeneralRe: Dao DB Pin
coralsnake_21-Dec-03 8:49
coralsnake_21-Dec-03 8:49 
GeneralScrolling CRichEditCtrl to the limit Pin
RickyC3-Dec-03 6:07
RickyC3-Dec-03 6:07 
GeneralCapture application start Pin
zebiloute3-Dec-03 5:45
zebiloute3-Dec-03 5:45 
Hi.

I try to find a way to capture and manage starting of all application under windows NT serie (NT4.0, 2K, XP).

I would like manage a log file and save into it when user start some specific applications.

- The first way is by using a new gina.dll with fonction like WlxActivateUserShell (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/wlxactivateusershell.asp)

But this solution is so constraining to use it.


- Second way using a Hook procedure. I try to capture the WH_SHELL type. But the hook capture only event from the window which manage the hook.

I install two hooks : one for mouse event and one for Shell event for all threads (dwThreadId=0 when calling SetWindowsHookEx function)

With my application i capture all mouse events for every process and windows. But only shell events for my application, for the other windows it's appear no shell events capture.

If some one have some cool ideas. Thanx
GeneralRe: Capture application start Pin
Anonymous3-Dec-03 7:38
Anonymous3-Dec-03 7:38 
GeneralRe: Capture application start Pin
David Crow3-Dec-03 7:41
David Crow3-Dec-03 7:41 
GeneralRe: Capture application start Pin
Peter Molnar3-Dec-03 13:02
Peter Molnar3-Dec-03 13:02 
GeneralOracle BLOBs and VC++ Pin
JYoder3-Dec-03 5:32
JYoder3-Dec-03 5:32 
GeneralRe: Oracle BLOBs and VC++ Pin
Joel Lucsy3-Dec-03 8:34
Joel Lucsy3-Dec-03 8:34 
GeneralRe: Oracle BLOBs and VC++ Pin
JYoder3-Dec-03 8:42
JYoder3-Dec-03 8:42 
GeneralRe: Oracle BLOBs and VC++ Pin
Joel Lucsy3-Dec-03 9:04
Joel Lucsy3-Dec-03 9:04 
QuestionHow to get task manager-like info using C++? Pin
UcIk3-Dec-03 5:15
UcIk3-Dec-03 5:15 
AnswerRe: How to get task manager-like info using C++? Pin
Tim Deveaux3-Dec-03 5:43
Tim Deveaux3-Dec-03 5:43 
AnswerRe: How to get task manager-like info using C++? Pin
Antti Keskinen3-Dec-03 5:56
Antti Keskinen3-Dec-03 5:56 
AnswerRe: How to get task manager-like info using C++? Pin
Mike Dimmick3-Dec-03 6:34
Mike Dimmick3-Dec-03 6:34 
AnswerRe: How to get task manager-like info using C++? Pin
Peter Molnar3-Dec-03 13:09
Peter Molnar3-Dec-03 13:09 
AnswerRe: How to get task manager-like info using C++? Pin
UcIk3-Dec-03 17:19
UcIk3-Dec-03 17:19 
GeneralButton Control Pin
Best Friend3-Dec-03 4:27
Best Friend3-Dec-03 4:27 
GeneralRe: Button Control Pin
Antti Keskinen3-Dec-03 5:39
Antti Keskinen3-Dec-03 5:39 
GeneralOpening a file of any type using the proper program Pin
KellyR3-Dec-03 4:11
KellyR3-Dec-03 4:11 
GeneralRe: Opening a file of any type using the proper program Pin
joe.A3-Dec-03 4:46
joe.A3-Dec-03 4:46 

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.