Tech Support > Microsoft Windows > Development Resources
Problem with NT services and DLL
Posted on July 19th, 2004 | 0 Comments

Hi All, We have an NT service implemented in VB (service pack 6) on the Windows NT 4 platform (service pack 6a). The NT service is implemented as a standard EXE which includes a DLL as a reference...

Creating a library without conflicting with msvcprtd.lib ?
Posted on July 19th, 2004 | 2 Comments

Hello. I've been having trouble creating a static Win32 library. My library is actually some personal extensions to the STL classes by mean of subclassing <string>, etc. I originally created it in...

Beginners question: multi line text output to edit control
Posted on July 19th, 2004 | 10 Comments

Hello everyone, I'm a beginner to Windows programming, so this is most likely a very stupid question: I have created a rather small program which opens a dialog with some buttons and radio controls....

Printing problem on Windows 2000
Posted on July 19th, 2004 | 0 Comments

I have a program which prints fine when installed on Windows 95 and 98. I installed it on Windows 2000 system and it comes up with a different print dialog box (with large printer icons in it) and...

how to limit the output of the dependency walker tool to first level.
Posted on July 19th, 2004 | 0 Comments

hi, this is in regarding the usage of Dependency Walker tool which is used to get to know the dll's associated with a particular exe. Now the thing is how can i limit the output of the tool to give...

IFilter'ing text files with nonstandard name extensions
Posted on July 19th, 2004 | 0 Comments

I am using IFilter to filter some standard types of docs, for instance TXT and DOC. I am using LoadIFilter(sFileName, 0, &pFilter) to get the interface pointer. This works fine most of the time, but...

Setting Drop List Data in VS
Posted on July 19th, 2004 | 5 Comments

I'm using Visual Studio .NET 2003 to create a dialog box with a drop list. I can add an item to the list by sending a CB_ADDSTRING message to the drop list but I can't seem to add items to the list...

SetPriorityClass and SetThreadPriority
Posted on July 19th, 2004 | 1 Comments

Hi! My problem is that I wanted to add some performance to my application. I wanted to achieve this with the SetPriorityClass and SetThreadPriority functions bot I only get 1-2 percent of it. My...

drive contents changing
Posted on July 19th, 2004 | 1 Comments

Is there a way to detect when a drives contents are changing? I am hoping to make a program that displays all the files written to, and by which programs. Can anybody point me in the right...

Problem with WM_PAINT
Posted on July 18th, 2004 | 6 Comments

Hi, I'm coding my very first control and it's going pretty well, except for one thing, it's not that big of a problem, but I'd like to avoid it. The problem is my control repaints itself when I...

Global variable
Posted on July 18th, 2004 | 3 Comments

Hi, I need to set a flag (integer/DWORD) in the OS so every program can read it. I can use registry / files for this flag but using a variable is preferred. (and if the computer restart the flag is...

RegOpenKeyEx() Problem
Posted on July 18th, 2004 | 2 Comments

Hi Experts: Developing in WIN2K, VC6, WIN32, no MFC. I want to find the path to WinAMP's install directory by looking in the registry. Posts in the WinAMP developer's forum about getting the path...

Win32 Threads vs pthread performance
Posted on July 17th, 2004 | 0 Comments

Hi, I have written a program that performs parallel computing through threads for a class project. I wrote this project in C++ and I have use the facade pattern to encapsulate the synchronization...

how to use EnumWindows to enumurate only user's object.
Posted on July 17th, 2004 | 1 Comments

hi, all, I use EnumWindows to enumurate the windows. But I only need the user window, what can i do? thanks

Win32 API message question
Posted on July 17th, 2004 | 2 Comments

I have created an application which contains a basic window, a listbox and a tabcontrol. My goal is to be able to get the WM_LBUTTONDOWN, WM_MOUSEMOVE, and WM_LBUTTONUP messages for the tab...

Hooks
Posted on July 16th, 2004 | 1 Comments

Hello, I'm having a hard time understanding hooks in win32. The best article (and sample) I found so far is http://www.codeproject.com/threads/winspy.asp . My understanding is that with...

File Version in resource file.
Posted on July 16th, 2004 | 2 Comments

In Windows XP if I'm over an icon (exe) a tooltip pops up showing the File Version. I edited in the resource file FILEVERSION 2,0,11,2 PRODUCTVERSION 3,36,20,13 FILEVERSION is shown at the top of...

Very basic question, getting win api return value
Posted on July 16th, 2004 | 11 Comments

Hi there, First of all, I'm very much a C++ amateur (i.e., a newb). I'm having to program a win32 system service for my employer, and I'm almost done with the task, but I need help with something...

WM_PAINT / WM_ERASEBKGND
Posted on July 16th, 2004 | 8 Comments

Seeing that RichEdit controls were more trouble than help, I decided to ditch them and try and code my very own control to output simple formated text. I have pretty good ideas about how I'm going...

Treeview problem.
Posted on July 16th, 2004 | 1 Comments

Hi, I can't get the TreeView_GetFirstVisible and then the TreeView_SelectSetFirstVisible to work as expected. The first visible is displayed randomly. Is there any window updates etc. I must to ?