Tech Support > Microsoft Windows > Development Resources
Changing IE default access directory
Posted on March 22nd, 2005 | 1 Comments

Hello everybody my problem is related to internet explorer. By default internet explorer can access my computer and all drive to save, download, open files. i want to restrict this access...

translucent fillpolygon problem in layered windows
Posted on March 22nd, 2005 | 0 Comments

Hi I am trying to draw opaque polygons in layered windows. My problem is that they always end up translucent. I have created a demo app that will draw opaque lines, filled ellipses, text, etc. but...

Getting logged on user from remote PC using Win32 classes (WMI)
Posted on March 21st, 2005 | 1 Comments

Hi, I'm using WMI to read out information from a remote PC but I cannot seem to find the right class to find which user is logged in to that PC. When I use Win32_ComputerSystem I get a value for the...

Getting logged on user from remote PC using Win32 classes (WMI)
Posted on March 21st, 2005 | 0 Comments

Hi, I'm using WMI in a Visual Basic application to read out information from a remote PC but I cannot seem to find the right class to find which user is logged in to that PC. When I use...

How to make custom language support for specific language?
Posted on March 21st, 2005 | 0 Comments

hi i want to make a software using Win32 API's which will add support in PC for specific language. Like when in Windows XP/2000 we want to add specific language it asks for OS CD and install the...

Compile errors
Posted on March 21st, 2005 | 2 Comments

Hi, I have a program which consists of a exe and a dll (there are some additional static librarys). Well, everything is ok - until I press F5 to start the app. Visual C++ then will ALWAYS recompile...

Stalling new install during uninstall/cleanup of registry
Posted on March 21st, 2005 | 0 Comments

Hi, I'm looking for a way to (programatically) stop Windows from installing new USB devices during uninstallation (a registry cleanup) of previously installed instances of the same device -OR- a way...

working directory of a service
Posted on March 21st, 2005 | 1 Comments

When I run a service in debug mode everything is fine, it find the files it needs in the directory it is started in, but when I run it as true service, obviously %SystemRoot%/System32 is the working...

Win32 equivalent of Unix "sync"?
Posted on March 20th, 2005 | 3 Comments

Hi all, Under Linux, a person can run at the commandline "sync" to flush all buffers to disk. Also inside the Linux kernel there is an equivalent. But does Win32 have a "sync" that I can execute...

List all Shared Memory names?
Posted on March 20th, 2005 | 1 Comments

Hi all, Is there a way to get a list of all the shared memory names (setup by OpenFileMapping & MapViewOfFile) of all applications running under windows? Thanks!

SCROLLBARINFO undefined
Posted on March 20th, 2005 | 6 Comments

Hello, I tried to use the SCROLLBARINFO ( VC ++ 6) and got the following error : C2065: 'SCROLLBARINFO' : undeclared identifier the header <windows.h> is included (as said in the documentation)...

system tray / taskbar icons on startup program
Posted on March 20th, 2005 | 2 Comments

Hello, I've developed numerous utility programs that can be configured to run automatically on startup and place themselves in an icon on the taskbar. My code to do this looks something like the...

detecting idle desktop from windows service
Posted on March 20th, 2005 | 4 Comments

Does anyone have any suggestions on how to detect an idle desktop (no mouse movement, keyboard press) from an XP windows service? If I use GetLastInputInfo() it reports the time for the desktop the...

Where does .NET 2003 store C++ include paths?
Posted on March 19th, 2005 | 3 Comments

Visual Studio .NET 2003 lets additional me specify additional directories for include and library files (Tools >> Options >> Projects >> VC++ Directories). Can anyone tell me where these paths are...

CreateSempahore limitations ?
Posted on March 19th, 2005 | 2 Comments

Hi, Im wondering if there is any limitation on how many semaphores you can have active in an application ? Normally i initiate my Createsemaphore: HANDLE CreateSemaphore(

Zone Alarm etc. How do they work, what API's to use, etc.
Posted on March 19th, 2005 | 5 Comments

What exactly does Zone Alarm do? If I install it, how can I be sure it doesn't have any backdoors or trojans or keystroke loggers in it? What I would rather do is learn how to write such programs...

Printing a file in landscape without dialogs
Posted on March 19th, 2005 | 2 Comments

Hi, I've spent a few hours trawling around the internet on this one. It sounds stupid but I can't print a file in Landscape mode from a program without any dialog boxes (i.e. No call to...

Forcing Repaint on ListBox Scroll?
Posted on March 19th, 2005 | 2 Comments

Hi Folks Developing on Win2k, VC6, WIN32, no MFC. I have a ownerdraw listbox with different height items, each a multiline edit box with alternating light green and white backgrounds. When I...

Shortcuts/links in Windows
Posted on March 19th, 2005 | 23 Comments

Is it possible to create links in Windows, which behave similar to Unix/Linux links? That is, they are used like files, but point at another physical file in the file system. If I've understood...

keeping track of CPU utilization on a per process level
Posted on March 19th, 2005 | 1 Comments

My problem is that I need to track how much CPU utilization that a particular process ( or group of processes and related threads ) is using. The natural solution is to place each group of...