Tech Support > Microsoft Windows > Development Resources
Image List destroy
Posted on July 29th, 2003 | 0 Comments

Hello. Using LVS_SHAREIMAGELISTS with a listview, the doc says: LVS_SHAREIMAGELISTS The image list will not be deleted when the control is destroyed. OK. But when the application closes, is the...

Create Desktop, Task Bar and Start Menu....
Posted on July 29th, 2003 | 0 Comments

Hi all! I have an application wich create a private desktop using CreateDesktop. Easy! I'd like now to add a task bar and a start menu but I do not want to use the one provided by Explorer.exe. I'd...

Named pipes question
Posted on July 29th, 2003 | 0 Comments

I write service that uses named pipes (NT/Win200) to communicate with clients. The client gets handle from CreateFile function. Now, the question is: if other process gets this handle by...

Adding a resource to makefile
Posted on July 29th, 2003 | 5 Comments

Hi All, I have a makefile for my DLL:- TARGETOS=WINNT !include <win32.mak> proj=mydll all: $(proj).dll

EnumPrinters() doesnt work properly
Posted on July 29th, 2003 | 0 Comments

Hello. I am writing a program that enumerates all local ant network printers. I want to check if the printer is ready / busy / error and therefore need to check PRINTER_INFO_2::Status. I enumerate...

Re: application exit code
Posted on July 29th, 2003 | 0 Comments

"cool" <none@none.ne> schrieb im Newsbeitrag news:2003728-172648-775124@foorum.com... Hi, start & wait for your program to be executed like this: DWORD ret=0; CreateAndWait("Explorer.exe",...

Horrible Visual C Bug!
Posted on July 29th, 2003 | 129 Comments

Hello, have you ever heard about this MS-visual c compiler bug? look at the small prog: static int x=0; int bit32() { return ++x; }

NT service to interact with desktop
Posted on July 29th, 2003 | 0 Comments

I have an existing Windows NT service (an ATL COM server) that, for various reasons, has been changed to run under a user (rather than the System) account. This service displays a couple of dialogs,...

IsValidAcl fail
Posted on July 29th, 2003 | 2 Comments

Hi, I am creating a program that read ACL, and create new one that contains all the ACEs defined in the old one, and in addition add new ACE. The problem is that the new ACL when I check its...

Re: How to obtain Program Title from exe file?
Posted on July 29th, 2003 | 0 Comments

Run the program. Wait a while. Enumerate all top-level windows. Find one whose process ID matches the process you just started. Get its title bar text. On the other hand, the application's name is...

Re: How to obtain Program Title from exe file?
Posted on July 29th, 2003 | 0 Comments

On Mon, 28 Jul 2003 17:58:29 -0700, "ppcinfo" <pocketpcinfo@yahoo.com> wrote: It's not possible in general. You could analyse the type of environment that was used to build the exe (C++, Delphi,...

Best method for capturing a temporary file before deletion
Posted on July 29th, 2003 | 0 Comments

Greets... I'm wondering what would be the best way to copy a temporary file after its creation and before its deletion by the app that makes use of it. It's a batch file, and I just want to see...

Win32 API and file with .db
Posted on July 29th, 2003 | 4 Comments

Dear all, How do I open a database with *.db and manuplate it in my windows32 program ? Best, Eric

take the image of an invisible application
Posted on July 28th, 2003 | 1 Comments

Hi I have a serious problem. I want take in my application the image of an other application which is outside normal screen coordinates. In fact the other application is invisible for the user. I...

Load a binary file
Posted on July 28th, 2003 | 2 Comments

Hi guys, I would love to load a resource from an executable, the resource I am trying to load is an executable. This is the source of the program: #include <windows.h> int _tmain(int argc,...

SETTING large fonts
Posted on July 28th, 2003 | 1 Comments

Many people ask, how can my program tell if the user has selected Large Fonts. My question is, how, from my C program, can I change the setting as if the user had gone through the normal...

notify when the mouse cursor leaves a window
Posted on July 28th, 2003 | 3 Comments

Hi. Well, the subject tells it all: I want to know when the mouse cursor leaves a window. I know it is possible in the new .net architecture, but I want to do it in a more basic level (and I've seen...

Can someone please explain why this is happening?
Posted on July 28th, 2003 | 2 Comments

Greetings, I am trying to use a Service to call a fileChecker that checks if a specific local File time is different from the same file that is located on a remote server to decide whether or not to...

Checking if a file has and update and download it to the client.
Posted on July 28th, 2003 | 2 Comments

Greetings, I would like to find a way to check a local file on a client machine and see if it needs to be updated. Then, if so, download the update file. I know how to get the file date from the...

Control ID puzzling behaviour
Posted on July 28th, 2003 | 0 Comments

HI all i am once again faced with a strange situation i guess the nature of my project is some what like this. now the problem is that the application that would be tested by my software is a very...