First  |  Prev |  Next  |  Last
Pages: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
List Physical Drives (c++ | WINAPI)
Hello! I want to list all physical drives on my machine... anybody knows how to do this? (win32 api, c++) ... 8 Apr 2008 08:22
OpenDesktop in a Windows service fails, GetLastError returns183
Sten Westerback (MVP SDK 2005-6 :) wrote: So where does Microsoft say it's a bad idea to write services in C#? I don't think they say it directly.. but services are supposed to be optimized and efficient... ;) AFAIR a Microsoft professional really said it directly. Read it somewhere at Technet or ... 1 Apr 2008 11:46
OpenDesktop in a Windows service fails, GetLastError returns 183
> <jvstech(a)gmail.com> wrote in message news:9b0873ac-adba-4eff-9df0-e76a8fec21e0(a)s19g2000prg.googlegroups.com... On Mar 12, 11:19 pm, "Sebastian G." <se...(a)seppig.de> wrote: jvst...(a)gmail.com wrote: I've written a Windows service in C# in clear violation of Microsoft's recommendation .. ... 1 Apr 2008 08:27
CreateFileMapping fails on Vista but passes on XP
Hi, I'm using the CreateFileMapping( ) function to do the obvious and everything works as expected on my XP development machine. However, when I copied the binaries to a Vista machine CreateFileMapping( ) fails and GetLastError( ) returns error 5. I looked on MSDN and see that system error 5 (0x5) is ERROR_ACC... 1 Feb 2008 15:54
Differences between a protoinfo struct from getsockopt and WSADuplicateSocket
Hi, I've got something of a chicken and egg situation that I'm wondering about. This has to do with the sharing of certain data between separate processes (see some of my earlier postings). I'm trying to duplicate a socket from one processes to another. The problem is, to create the socket in the target proce... 1 Feb 2008 14:13
"Working set - Private" on XP
Hi all, To get and display misc infos, I use the "performance counter" (pdh...) routines. For most infos, it's ok on both XP and Vista. But under XP, I can't get the "private wrking set": // __________________________<Code> DH_HQUERY appMemQueryCounter= NULL; PDH_HCOUNTER appMemCounter = NULL; PDH_ST... 27 Jan 2008 10:10
Assign anew font to a console window...
Hi Group: I need your kind help again. I have a console window that I want to assign it a different font than its default font. clicking on the left corner of the title bar gives me a dialogbox where I can select a font for this window. Now, I would like to do the same thing programmatically without showing a d... 23 Nov 2007 06:06
Not receiving SERVICE_CONTROL_DEVICEEVENT in NT Service For IDE CD/DVD ROM
I am trying to get SERVICE_CONTROL_DEVICEEVENT notification in a NT Service for CD/DVD ROM. The procedure I am following to code the service is mentioned below :- 1) I have written a NT Service in C++ using Win32 APIs. 2) I am providing the SERVICE_STATUS.dwControlsAccepted as SERVICE_ACCEPT_HARDWAREPROFILECHANG... 10 Nov 2007 08:43
sizeof(NOTIFYICONDATA) changing all the time
Hi all, I need to create a taskbar icon in my program with one of our library functions. I've constantly got a memory corruption which turned out to be caused by the size of NOTIFYICONDATA changing. I tried sizeof(NOTIFYICONDATA) in the immediate window both inside and outside the library function, I got different ... 12 Oct 2007 11:40
How to Get User Token in Windows 2000 (Alternative to WTSQueryUserToken as it dont work in Windows 2000)
Hello, I want to get ActiveConsole SessionId and based on Session Id get the User Token. for Windows XP "WTSGetActiveConsoleSessionId" and "WTSQueryUserToken" sequence works fine but it doesn't work in Windows 2000. So alternative to this so my application can also run in Windows 2000. Anyone can help me rega... 9 Oct 2007 03:00
First  |  Prev |  Next  |  Last
Pages: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65