Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: New User C++ help Pin
Tomasz Sowinski27-Jun-01 9:45
Tomasz Sowinski27-Jun-01 9:45 
GeneralDynamically allocate an array of an array Pin
Zach27-Jun-01 7:16
Zach27-Jun-01 7:16 
GeneralRe: Dynamically allocate an array of an array Pin
Frank Liao27-Jun-01 7:57
Frank Liao27-Jun-01 7:57 
GeneralRe: Dynamically allocate an array of an array Pin
Zach27-Jun-01 8:47
Zach27-Jun-01 8:47 
GeneralRe: Dynamically allocate an array of an array Pin
Frank Liao27-Jun-01 9:26
Frank Liao27-Jun-01 9:26 
GeneralRe: Dynamically allocate an array of an array Pin
Zach27-Jun-01 17:06
Zach27-Jun-01 17:06 
GeneralWindows service basics (start, install...) Pin
Joan M27-Jun-01 6:33
professionalJoan M27-Jun-01 6:33 
GeneralRe: Windows service basics (start, install...) Pin
Anders Molin27-Jun-01 10:18
professionalAnders Molin27-Jun-01 10:18 
You cannot run a service like a normal application, if you just doubleclick on it, it does nothing. Just like you say...
I don't know what wizard you used to make the service, and how it works, but normally you install a service by typing, in a command promt, "appname -install", and starts it by typing "net start servicename". Both without the quotes...

A service runs as standard a the "system" user, and whey you try to use SetWindowsHookEx() you get events fro the system user, not for the logged on user.

In the service manager you can make the service log on as a specified user, and then it *might* work, if the same user logs on. But, if another user logs on itdon't work, because the service catches events for the user it logs on asn ot the interactive user...

- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: Windows service basics (start, install...) Pin
Tim Deveaux27-Jun-01 10:21
Tim Deveaux27-Jun-01 10:21 
GeneralAnother Conversion Question Pin
John Uhlenbrock27-Jun-01 6:32
John Uhlenbrock27-Jun-01 6:32 
GeneralRe: Another Conversion Question Pin
Tomasz Sowinski27-Jun-01 9:27
Tomasz Sowinski27-Jun-01 9:27 
GeneralRe: Another Conversion Question Pin
John Uhlenbrock27-Jun-01 10:15
John Uhlenbrock27-Jun-01 10:15 
GeneralRe: Another Conversion Question Pin
Tomasz Sowinski27-Jun-01 10:19
Tomasz Sowinski27-Jun-01 10:19 
GeneralImageList icons not showing up in color Pin
Jack Mott27-Jun-01 6:26
Jack Mott27-Jun-01 6:26 
GeneralData in CHtmlView Pin
Kmbhatti27-Jun-01 3:54
Kmbhatti27-Jun-01 3:54 
GeneralAdd-in in Developer Studio Pin
27-Jun-01 3:27
suss27-Jun-01 3:27 
GeneralRe: Add-in in Developer Studio Pin
Bret Faller27-Jun-01 6:54
Bret Faller27-Jun-01 6:54 
GeneralEnumEnhMetaFile does not call Callback on some systems Pin
27-Jun-01 2:40
suss27-Jun-01 2:40 
GeneralSimple member function question Pin
Stephen McGeown27-Jun-01 0:36
Stephen McGeown27-Jun-01 0:36 
GeneralRe: Simple member function question Pin
Thomas Blenkers27-Jun-01 0:45
Thomas Blenkers27-Jun-01 0:45 
GeneralRe: Simple member function question Pin
Stephen McGeown27-Jun-01 2:08
Stephen McGeown27-Jun-01 2:08 
GeneralRe: Simple member function question Pin
Malcolm McMahon27-Jun-01 2:59
Malcolm McMahon27-Jun-01 2:59 
Generali'm sure someone knows the answer to this... Pin
27-Jun-01 0:26
suss27-Jun-01 0:26 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 1:16
Igor Sukhov27-Jun-01 1:16 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 3:21
suss27-Jun-01 3:21 

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.