How to tell if a process is paused? When a process has been paused with SuspendThread... http://msdn.microsoft.com/en-us/library/ms686345%28VS.85%29.aspx ....is there a way for my app to know if the process is paused? ... 17 Jul 2010 00:12
Is it possible to determine (programmatically) if system was just powered up or rebooted Hi, I'm thinking about writing custom Native EXE that will be executed early during Windows boot process. I'll put pathname of my Native EXE into BootExecute value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager key. But I need to tell "cold" boot from "warm" boot: if hardware was powe... 13 Jul 2010 14:13
How Am I Screwing Up This Mutex? On Fri, 09 Jul 2010 11:14:50 -0700, Larry Lindstrom <larryl_turbo(a)hotmail.com> wrote: The following fragment doesn't seem to work: hmutex = CreateMutex(NULL, FALSE, mutex_name); wait_return = WaitForSingleObjectEx(hmutex, wait_ms, TRUE); When the first process is running, and holding the m... 12 Jul 2010 01:58
Help needed in hooking MS Office File Open/Save Dialog ........ Hello everybody, I need your help in solving following task.... Whenever any user opens a Microsoft Office file(it could be word,excel or powerpoint file) and saves it to a target file using 'Save as' menu option, I would like monitor that particular event and get the full path of the file that was being opene... 9 Jul 2010 02:53
Win XP Pro Boot to desktop (rather than user logon screen) Hello: I have (and have been using for some time) a Win XP Pro machine which had always booted up to the desktop. I am the only user, so a user-logon screen is unnecessary. After installing some (HP) all-in-one printer software, the system now boots up to the User Logon screen. How do I change this so tha... 10 Jul 2010 08:21
MinGW and Inline Assembler Hello, this is part of a CPU-Speed-Detection Program: #ifdef __BORLANDC__ void getRdtsc( UINT64* pResult ) { _asm { db 0x0F db 0x31 mov ebx, pResult mov [ebx], eax mov [ebx+4], edx } } UINT64 rdtsc(void) { UINT64 result; getRdtsc( &res... 16 Jul 2010 08:47
_tcstok_s not tokenizing as expected I have a function that does the following: TCHAR *szTempFileName = ::_tcstok_s(szA, szB, &szPos); //!< szA = D:\Rapiscan Systems\Auto Archives \12345_20100707101212025_SERVICE2 //!< szB = D:\Rapiscan Systems\Auto Archives However, when _tcstok_s returns, I get //!< szTempFileName = 12345_20100707101212025... 8 Jul 2010 10:14
Stopping SetCursorPos from moving cursor We have a large scale project which most of the users want to behave a certain way on initialisation however some of us dont. That behaviour includes moving the mouse cursor to (0,0). Unfortunately this call is coming from python and I dont know enough about python to stop it being called. Is there a way I can s... 9 Jul 2010 03:59
access a network folder in the SYSTEM account process how can access the '\\sharefolder' in the SYSTEM account process? of course, that's over than vista os. any session process(ex, explorer.exe) can access the '\\sharefolder', after passed with the credential. in that SYSTEM account process, i processed with "::ImpersonateLoggedOnUser(explorer process handle);",... 7 Jul 2010 14:34
application hang whne having Hello, An application has more than 64 child processes. To check if any child process exited, one of the application thread calls "WaitForMultipleObjects". Since the limit for number of handles that can be supplied to "WaitForMultipleObjects" is 64, a loop that only passes 62 process handles to "WaitForMul... 8 Jul 2010 11:21 |