Tech Support > Microsoft Windows > Development Resources
How to show the System Tray?
Posted on December 15th, 2003 | 3 Comments

Hello, I want to program my own shell and there were no big problems so far. But now I want to show the System Tray, of course, because I need it, but I don't know how. Has anybody got an...

InitDialog throws an exception in japanese windows 98.
Posted on December 15th, 2003 | 0 Comments

I have a MFC Application which is using List Control and a header controls within a dialog. When I try to call the DoModal for that dialog I get an exception " Page Violation of <application>...

Incorrect mouse position while dropping text in Rich edit control (CRichEditCtrl)
Posted on December 15th, 2003 | 1 Comments

Class "XEdit" has been derived from CEdit and another class "XRichEdit" derived from CRichEditCtrl. Both can be a drag source as well as Drop target. In case of "XEdit" everything is fine i.e....

HOWTO: display message box in MFC dialog app which has child window?
Posted on December 15th, 2003 | 4 Comments

Hello, I've written a simple dialog app which has a child window in it. But there is one problem. When I try to create and show other dialogs (CColorDialog, SHBrowseForFolder or my custom dialogs),...

DialogProc Wont Trap My WM_CHAR,
Posted on December 15th, 2003 | 10 Comments

Hi Again Experts: I have a dialog box, built with the resource editor, that I want to respond to keystrokes. I have several read only edit boxes defined, and a couple of custom windows. I haven't...

Implementation of Licensing scheme in VC++
Posted on December 15th, 2003 | 2 Comments

Hi, I am required to implement a licensing scheme for a product which my team is developing. We are using VC++ on Win9X to WinXP As I am a novice to such a scheme, I would like to know how such...

ftp in c++
Posted on December 14th, 2003 | 0 Comments

Hi, basically the problem is as follows. I can create an Internet Session no problem, get the FTP connect no problem, and upload a file, no problem. but after a number of uploads I get a...

WriteProcessMemory bug
Posted on December 14th, 2003 | 2 Comments

Hi all, I've been trying to find information about the WriteProcessMemory bug in Windows 2000 SP3, but havn't found anything useful. I can't find a knowledge base article on the subject either. I...

Re: New Description: Compile Crafty chess with gcc under windows - Simple! - 1 attachment
Posted on December 14th, 2003 | 0 Comments

Cook Book: Compile Crafty Chess Engine with gcc under Windows Using Dev-C++ version 5 beta (4.9.8.5) that includes gcc/g++ 3.2 (Tested with crafty 19.2 and 19.6) --> Now you can read everything...

object and .nio
Posted on December 14th, 2003 | 1 Comments

How would one send an object from server to client using the new java.nio ? Or is it best to avoid sending data in object form when using .nio ? TIA patrick

Thread-safe programming in a DLL
Posted on December 14th, 2003 | 1 Comments

Is the following code safe to use in a multi-threaded DLL? The idea is to have global variables that can be set and retrieved by users. Any comments on the proposed thread-safe version below would be...

Just for reference : Win32 API COM extensions?
Posted on December 14th, 2003 | 14 Comments

Hello everybody, I've been asked to prep a formation for the fellow programmers on my team. Most of them never programmed Windows and we're currently re-orienting towards it. Anyways, one of the...

window in a console app
Posted on December 13th, 2003 | 1 Comments

On Sat, 13 Dec 2003 15:30:58 -0800, "Jim Westwood" <spam@spam.com> was understood to have stated the following: Actually, it's not that bad: #include <windows.h> #include <stdio.h> #include...

Hooking Unicode/ANSI Registry API Functions
Posted on December 13th, 2003 | 1 Comments

I've written a C program which hooks several Unicode Registry API functions (RegEnumValueW, RegQueryValueExW, ...) and it works fairly well. However, if I try to hook any of the ANSI...

HINSTANCE and HWND?
Posted on December 13th, 2003 | 5 Comments

Hi I have a ATL COM server which is using blocking socket ::connect call. I want to make the socket unblocking and using e.g. WSAAsyncSelect to findout when the connection has been established. Do I...

Dialogs and resources
Posted on December 13th, 2003 | 0 Comments

Hi! I've recently started doing some win32 API programming (no MFC). I'm sort of confused about the concept of dialogs. It's much nicer to lay out your components using the Visual C++ resource editor...

Dynamic menue (CrossPost)
Posted on December 13th, 2003 | 3 Comments

I need help with dynamic menues. I have some menues created in standard way (menu editor in VB). There are few root menues and in one of them I need to dynamicly create unknown number of...

how to find a keyboard hook program is running ....
Posted on December 13th, 2003 | 0 Comments

Hi all, Is there anyway to find if a keyboard hook program is running on a Windows system ? thanks -sri

VK_ CODES
Posted on December 13th, 2003 | 1 Comments

hi, anyone knows where i can find description of all VK_(something) codes? thx Przemo p.s. VK_BACKSPACE doesn't work in MFC:(

Per Process CPU Utilization
Posted on December 13th, 2003 | 1 Comments

Help, real Win32 newbie here... How can I get the cpu utilization by process? Seems simple, but looking around I only find materials about PerfMon, which seems more OS vs. process related. I just...