Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Time and Date Pin
Mark Salsbery22-Oct-06 11:32
Mark Salsbery22-Oct-06 11:32 
AnswerRe: Time and Date Pin
Michael Dunn22-Oct-06 9:50
sitebuilderMichael Dunn22-Oct-06 9:50 
GeneralRe: Time and Date Pin
locoone22-Oct-06 9:52
locoone22-Oct-06 9:52 
Questionforce reload of file via serialization Pin
Midworld0822-Oct-06 8:11
Midworld0822-Oct-06 8:11 
Questionchar to wchar_t conversion Pin
FredrickNorge22-Oct-06 7:11
FredrickNorge22-Oct-06 7:11 
AnswerRe: char to wchar_t conversion Pin
Mark Salsbery22-Oct-06 9:11
Mark Salsbery22-Oct-06 9:11 
GeneralRe: char to wchar_t conversion Pin
FredrickNorge22-Oct-06 10:16
FredrickNorge22-Oct-06 10:16 
QuestionHooking service is not running automatically after upgrading to XP SP2 Pin
Dudi Avramov22-Oct-06 6:28
Dudi Avramov22-Oct-06 6:28 
I wrote a service that loads a dll for global hook purpose using SetWindowsHookEx function with WH_KEYBOARD_LL parameter.

It is defined to run automatically on system startup and to interact with the desktop, as well.

It works fine till I upgraded XP to XP SP2. The service starts successfully in manual mode but not automatically on system startup.



The event viewer reports the errors event id 7009 and 7000 from the Service Control Manager.

Event ID: 7009 Source: Service Control Manager Description: Timeout (120000 milliseconds) waiting for service to connect.

Event ID: 7000 Source: Service Control Manager Description: The Certificate Authority service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.



After commented out the hooking function I saw that the services started on system startup.

Is there anything that you know regarding to global hooking on XP SP2 that prevent from my service to run on system startup?



Thanks,

Dudi


QuestionTransparent bitmaps Pin
Waldermort22-Oct-06 6:03
Waldermort22-Oct-06 6:03 
AnswerRe: Transparent bitmaps Pin
normanS24-Oct-06 9:48
normanS24-Oct-06 9:48 
Questionpixel manipulation Pin
Waldermort22-Oct-06 0:25
Waldermort22-Oct-06 0:25 
AnswerRe: pixel manipulation Pin
Waldermort22-Oct-06 2:46
Waldermort22-Oct-06 2:46 
QuestionQ: Launching exe from within C++ console app [modified] Pin
infonaut21-Oct-06 23:58
infonaut21-Oct-06 23:58 
AnswerRe: Q: Launching exe from within C++ console app Pin
Sceptic Mole22-Oct-06 1:35
Sceptic Mole22-Oct-06 1:35 
AnswerRe: Q: Launching exe from within C++ console app Pin
Michael Dunn22-Oct-06 9:52
sitebuilderMichael Dunn22-Oct-06 9:52 
GeneralRe: Q: Launching exe from within C++ console app Pin
infonaut23-Oct-06 4:49
infonaut23-Oct-06 4:49 
QuestionProcessing the 'X' button in a SDI Pin
Tara1421-Oct-06 23:56
Tara1421-Oct-06 23:56 
AnswerRe: Processing the 'X' button in a SDI Pin
Gary R. Wheeler22-Oct-06 3:39
Gary R. Wheeler22-Oct-06 3:39 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1422-Oct-06 7:45
Tara1422-Oct-06 7:45 
GeneralRe: Processing the 'X' button in a SDI Pin
Gary R. Wheeler22-Oct-06 8:03
Gary R. Wheeler22-Oct-06 8:03 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1422-Oct-06 8:30
Tara1422-Oct-06 8:30 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery22-Oct-06 8:56
Mark Salsbery22-Oct-06 8:56 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1422-Oct-06 12:59
Tara1422-Oct-06 12:59 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery22-Oct-06 16:03
Mark Salsbery22-Oct-06 16:03 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1423-Oct-06 3:18
Tara1423-Oct-06 3:18 

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.