|
How to detect if the process with known process id is running or not? Hi folks -- I need to detect if a process is running or not. I imagined that if I called OpenProcess( ) like this: hProcess = OpenProcess( SYNCHRONIZE, TRUE, processID ); then on return hProcess would be NULL if processID were not running. Not true. It seems that if processID had ever run and then called... 13 Apr 2008 16:45
Find out if monitor is off Hi everyone: I've been directed to this thread from the win32.programmer.kernel with the following question: Is there a way to tell if a computer monitor is off (from a program)? This looks like a trivial task, but I can't seem to find a documented solution from MS. I tried Win32_DesktopMonitor WMI class... 16 Apr 2008 10:49
API to disconnect a terminal-server user Elcaro Nosille wrote: I'm looking for an API to disconnect a terminal-server user. I didn't find anything appropriate in the Terminal Server API. Anyone here some ideas? WTSLogoffSession, WTSDisconnectSession? -- J. http://symbolsprose.blogspot.com ... 13 Apr 2008 11:56
MFC application crashes in Release Hi, My MFC application is bombproof in Debug, but crashes in release. The Windows error message states that a specified memory location could not be read. In release the program starts up OK and does quite a lot. The crash occurs when a key is pressed, ie. the first keyboard message is sent (WM_CHAR). Any... 14 Apr 2008 12:10
ThunkConnect32 function Missing from Kernel32.dll on WinXP SP3RC2 Don wrote: I am trying to write a 16-bit DLL to 32-Bit DLL flat thunk as documented in MSDN for some legacy education programs. It is not working. I have traced the problem down to some functions like ThunkConnect32 missing from Kernel32.DLL. If I download the latest VB6.0 Runtime file vbrun60sp6.exe f... 13 Apr 2008 07:44
Terminal Services Hi, I am trying to come up with something similar to Microsoft's Terminal Services but am having unfortunately some starting difficulties. Mainly I am looking into how to log on additional users into a full desktop environment. I have found such a kind of feature in the SU implementation "SUperior SU" f... 16 Apr 2008 03:26
ThunkConnect32 function Missing from Kernel32.dll on WinXP SP3 RC2 I am trying to write a 16-bit DLL to 32-Bit DLL flat thunk as documented in MSDN for some legacy education programs. It is not working. I have traced the problem down to some functions like ThunkConnect32 missing from Kernel32.DLL. If I download the latest VB6.0 Runtime file vbrun60sp6.exe from MS and open W95INF32... 12 Apr 2008 19:05
Deriving DataGridView Cristiano wrote: I'm using VS 2008 .NET framework under XP. I need to resize the rows of a DataGridView to accomodate the text in multiline cells. Wrong newsgroup : Win32 In C++, it's just ::AutoResizeRow() in the namespace. ... 12 Apr 2008 15:05
[.NET] Deriving DataGridView I'm using VS 2008 .NET framework under XP. I need to resize the rows of a DataGridView to accomodate the text in multiline cells. I would use the method void AutoResizeRow( int rowIndex, DataGridViewAutoSizeRowMode autoSizeRowMode, bool fixedWidth ) but it is protected. When I try to derive th... 12 Apr 2008 11:06
VS 2008 Express useable to target old OS? I know that Visual Studio 2008 Express itself does not run on anything older than XP, but I wonder whether it can be used to built binaries which will run all Win32 platforms. If yes, do I need to use any special compiler flags or something like that? Oh, and what about the .DLL thing. I read somewhere that n... 12 Apr 2008 16:42 |