First  |  Prev |  Next  |  Last
Pages: 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
Determine optical drive type and capabilities
On Oct 30, 8:51 pm, Christian ASTOR <casto...(a)> wrote: Steve wrote: How can I get the type of an optical drive.  IOW how can I know whether the drive is a CD drive or a DVD drive or a combo (CD and DVD) drive.  Also how can I determine if the drive has burn capabilities and i... 13 Nov 2008 21:44
Help with SetupInstallFromInfSection
I was hoping someone could help me get SetupInstallFromInfSection working properly. I'm trying to start in install section in a driver INF (hal.inf specifically). I'm doing this in C#, but I also tried it in C++ with (MOSTLY) the same parameters and got the same error, which is 1004 (Invalid Flags). Here's my C#... 5 Nov 2008 18:37
Hooking functions
Years ago I used a Hooking library to hook system calls like CreateProcessW. I'd like to do that again. Does it work in modern versions of Windows or have MS killed that capability in their quest to clean up viruses? Erick Erick Engelke erick(a) Manag... 9 Oct 2008 18:41
OleCreatePictureIndirect doesn't like 32bpp icons?!
Hi, I use the following code to create an IPictureDisp object from a 16x16x32bpp icon: PICTDESC picture = {0}; picture.cbSizeofstruct = sizeof(picture); picture.icon.hicon = hIcon; picture.picType = PICTYPE_ICON; CComPtr<IPicture> pPicture = NULL; OleCreatePictureIndirect(&picture, IID_IPicture, TRUE, rein... 30 Sep 2008 19:44
HOWTO: formatting memory cards
I am developing a program for photographers. One of the things the program does is copy images from memory cards to the computer's hard drive. Some photographers would like the program to "format" the card after copying the files to the computer so they do NOT have to go in and format the cards in the camera them... 28 Sep 2008 12:23
Webcam MFC
I was told to use Avicap or DirectShow, which one would you guys recommend?? I need to capture a photo (series of them) and analyze the image to get the most brilliant pixel (some thing like that).. Would Avicap do the job?? Any links where I could read?? ... 24 Sep 2008 04:13
Scrolling text in static (text) control
Hi all, This is the first time I actually post in this group, and I'm new to win32 programming so please bear with me. First off, I'm using win32 api (C++) for a little program. I have a main window generated by a resource file, with several child controls (static control, edit control, buttons, etc.). I'm t... 22 Sep 2008 11:15
Transparent, Editbox, HOLLOW_BRUSH, Marking text?
Hi I have a little problem when I am using "HOLLOW_BRUSH" as a background (?) I create a editbox and sets the readonly-flag, but the background goes grey and I want it white. To prevent that I use this in WM_CTLCOLORSTATIC: Code: case IDC_INFOBOX: { HDC hdc = (HDC)wParam; SetBkColor(hdc, 0xFFFFFF); SetTextC... 17 Sep 2008 03:12
Logon Failure: Impersonation Succeeds But CreateFile Fails
Hello, I am trying to access a network file and edit that file using impersonation from an local service. i use the pid of explorer.exe and obtains it's handle to pass to OpenProcessToken. Then i use the token obtained, to pass to ImpersonateLoggedOnUser(). Once impersonated i use CreateFile to open an existt... 15 Sep 2008 08:08
DTN_DATETIMECHANGE Sent Twice to Date and Time Picker.
Hi Folks: Developing on WinXP, VS 2008 Pro, WIN32, no MFC. My app allows users to enter minutes, for meetings. The dialog they use to do this consists of a date time picker, and edit box, and Ok, Delete, and Cancel buttons. If they enter text in the edit box the minutes record, a class instance,... 19 Aug 2008 07:03
First  |  Prev |  Next  |  Last
Pages: 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65