Tech Support > Microsoft Windows > Development Resources
ShellExecuteEx and a PIDL
Posted on March 5th, 2006 | 1 Comments

Here's my code: void OpenLink(int CSIDL) { LPITEMIDLIST pidl; if (SHGetSpecialFolderLocation(NULL,CSIDL,&pidl)!=S_OK) { MessageBox(NULL,"Failed!",NULL,MB_OK); return; }

Window Procedure in DLL
Posted on March 5th, 2006 | 4 Comments

Is it possible to get a window procedure to work in a DLL? I want to write a procedure that will receive a message from another application and I want this function compiled in a DLL.

SCSI API
Posted on March 4th, 2006 | 0 Comments

New scsi programming API can be found at: http://home.comcast.net/~SCSIguy/SCSI_FAQ/MartinVorbrodt/README.txt http://home.comcast.net/~SCSIguy/SCSI_FAQ/MartinVorbrodt/mvscsi.zip Enjoy using mvSCSI...

Transparent stretchBlt?
Posted on March 4th, 2006 | 3 Comments

I would like to take a bitmap make with transparentBlt then stretch it, How do I do this?

Why can I not close Outlook Express window?
Posted on March 4th, 2006 | 2 Comments

Hello I am using this code: int main(int argc, char* argv) { HWND OE_hWnd = FindWindow("Outlook Express Browser Class", 0); // if OE open then we close it if (OE_hWnd) {

Shell_NotifyIcon
Posted on March 4th, 2006 | 0 Comments

I'm developing a desktop shell replacement (quite successfully) and have implemented most areas such as the "system tray". However, I'm failing to understand a couple of flags used in...

Preventing OpenProcess() from Guest ID
Posted on March 4th, 2006 | 4 Comments

I run Windows 2000 Professional and I need to prevent the guest ID from scanning another process memory using OpenProcess(). The reason for this is that there is a process that runs...

load and display image from http request
Posted on March 4th, 2006 | 6 Comments

hello, i'm writing a c++ windows app and i would like to be able to display an image that i pull from a remote web server using an http request. can anybody explain how i go about doing this, or...

Debug JNI DLL
Posted on March 4th, 2006 | 1 Comments

I have a C++ DLL that I'm using with a Java application using JNI. How do I use the Visual Studio debugger (e.g. setting breakpoints etc.) with the DLL when it's loaded and used in a Java program?

spawn defrag as screensaver
Posted on March 3rd, 2006 | 4 Comments

Hi, I'd like to create a screensaver that uses CreateProcess to start "defrag E:" (after 5 mins or so) and stop the process when the screensaver exits. Stop with TerminateProcess ?? Is this...

how Windows uses 24 bit graphics
Posted on March 3rd, 2006 | 1 Comments

hi, I am not familiar with windows programming & am a C programmer. The problem is that I am not able to display 24 bit(16 million) colors via C although I could display 64K colors using interrupt...

how Windows uses 24 bit graphics
Posted on March 3rd, 2006 | 2 Comments

hi, I am not familiar with windows programming & am a C programmer. The problem is that I am not able to display 24 bit(16 million) colors via C although I could display 64K colors using interrupt...

Red line to \n from file
Posted on March 3rd, 2006 | 1 Comments

Hi, currently I'm doing this: // #CODE# bool GFFileSystem::Read(void* buffer, int bytes) { DWORD nread; ReadFile(m_file, buffer, bytes, &nread, NULL); return (nread == (DWORD)bytes) ? true : false;

retrieving 16-bit depth system color
Posted on March 3rd, 2006 | 17 Comments

Hello, I would like to retrieve some system colors, such as COLOR_3DFACE, COLOR_3DLIGHT and COLOR_3DSHADOW when the display mode is set to highcolor (16bit colors). I know there's a function...

Tasks launched by service terminating with exit code 128
Posted on March 3rd, 2006 | 13 Comments

Hi, I have a set (41) of tasks running on a Win2000 Advanced Server. The tasks are launched by a task controller which is running as a service under a specific user account. The tasks are launched...

Redraw Icon At Center In Response To WM_SIZE
Posted on March 3rd, 2006 | 1 Comments

hi there, I'm currently putting an icon at the center of my client area like this: hdc = GetDC(hwnd); DrawIcon(hdc, clientXSize / half, clientYSize / half, LoadIcon(hInstance,...

[newbie] WinAPI and its defines
Posted on March 2nd, 2006 | 3 Comments

Hey, I am pretty new to windows programming, and what astonishes me are these defines like LPVOID, DWORD, etc. I mean what's the point? What's the reason of such strategy? To keep it portable? I dont...

Importing Personal Information?
Posted on March 2nd, 2006 | 2 Comments

Hi Folks: I'm finishing up a project that serves organizations with members, businesses and clubs. I have no experience that will help me perform the next task for my project. I'm looking for...

How do I determine if there is an I/O error?
Posted on March 2nd, 2006 | 0 Comments

I'm trying to determine why my app is not detecting a known I/O error. When I read a file on a memory card (memory stick) via a USB reader, I do not detect any errors but when I do the same tests on...

How to stretch bitmap for use w. toolbar
Posted on March 2nd, 2006 | 2 Comments

"Greg Falen" <gfalen@comcast.net> wrote in message news:hNudnTlQXM5wTpjZnZ2dnUVZ_t-dnZ2d@comcast.com... Tried dis: StretchBlt current to a new image in the desired size, then use that one?