Tech Support > Microsoft Windows > Development Resources
get domain name
Posted on February 26th, 2006 | 1 Comments

Is there a simple way to determine the dns domain name a pc is on via C (not c++) functions? I'm looking for a function that might take a structure as input, or similar. I've grown incredibly rusty...

findfirst and sorting files by age
Posted on February 26th, 2006 | 2 Comments

I have a program which manages various log files of multiple extensions. The program needs to delete files based on an age paramter and a file number limit paramter. So if files are older than say a...

Resizing window without THICKFRAME style
Posted on February 25th, 2006 | 1 Comments

Hello team. Question as above - how to handle all resizing done by OVERLAPPED window including the display of resize cursors on the edges? I just don't my window to have thick frame. I'd like to do...

tab control background color
Posted on February 25th, 2006 | 3 Comments

I am seldom at a complete loss of what to do but I have tried to input all kind of things into WM_DRAWITEM without getting it to work. I have the following tab control (part of the dialog...

How to terminate a Win32 application via another application?
Posted on February 25th, 2006 | 3 Comments

How to terminate a wi32 application using another win32 application? i tried to set something like this: in the application to be terminated: int APIENTRY WinMain(...) { WNDCLASS...

Manifest files
Posted on February 25th, 2006 | 0 Comments

I'm not sure if this is the right NG. I'm using a menifest file in my app as a resource file so I can gain access to functions in XPs version 6 of the common controls DLL and also to make it theme...

cd burn
Posted on February 25th, 2006 | 0 Comments

Hi I am having a requirement to burn a data cd from my application.Application is in C++. I found a way to burn cds in WinXP but for windows 2000 no API's are available. Is there any way i can burn...

How to get user name of a process if you know the PID?
Posted on February 24th, 2006 | 4 Comments

Hi Folks, Hoping someone can help. How to get user name of a process if you know the Process ID? Stephen -- Stephen Kellett Object Media Limited ...

getting update from path set via registry
Posted on February 24th, 2006 | 2 Comments

Hello, I am setting the path via the registry, without problems. After setting the path, it won't show up in a command shell unless the system is shut down and restarted. Just closing and opening a...

Platform SDK error?
Posted on February 24th, 2006 | 3 Comments

Hi, Is 'AnimateWindow' available on Windows 98? <MSDN> "Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum...

Redistributable DLL problems
Posted on February 24th, 2006 | 0 Comments

Hello, I have inherited a setup program that copies 4 windows system dlls to the system directory, it does this based purely on the date and time of the files. The source of the dll's is the...

Accessing a Class Defined in DLL
Posted on February 24th, 2006 | 1 Comments

Can any body tell me How do i access the class defined inside a .OCX file. I am able to load the .OCX file. but i dont know how to access the function defined within the class. Please give me some...

Processing the systems sound
Posted on February 24th, 2006 | 1 Comments

I am planning on making a C program that basically consists pretty much of a system equalizer. All the sound that would normally exit by the sound card output would transit by this program and the...

CopyFile fails when similar short and long filenames exist
Posted on February 24th, 2006 | 3 Comments

Hello, I'm using CopyFile (from C++) to copy files from one directory to another (source to destination). In the destination directory I have a file called: 'Halstead-spln-040906.dbk'. When I use...

Named mutex behaviour
Posted on February 24th, 2006 | 3 Comments

I am using a named mutex and have a question about its behaviour when used within the same process multiple times AND across processes. The named mutex I am using, is used by another process in the...

_beginthread build problems
Posted on February 23rd, 2006 | 0 Comments

I get a few errors building a prog with _beginthread. I have done the proper compile options and included libcmt.lib in linking, but I still get these errors: libcimtd.lib(streamb.obj) : error...

Listing USB drives ?
Posted on February 23rd, 2006 | 1 Comments

Hello, I'd like to get the list of the drive letters for all the USB drives on a machine... what should i use ? Kyle

VC++ version 5.0 upgrade advice
Posted on February 23rd, 2006 | 26 Comments

I'm still using MSVC++ 5.0 (and works fine). I need to use a 3rd party add-in that requires ver. 6.0 or better. I just use WIN32 and don't want to be forced to any .Net or C# or anything else MS is...

Directory attributes
Posted on February 23rd, 2006 | 6 Comments

Advice on how to change a directory (in NT) from being read-only to being deleteable, and vice versa, would be greatly appreciated. I've looked at security descriptors and the like but so far I have...

How to call a winapi in a dll from java?
Posted on February 23rd, 2006 | 0 Comments

Hello, i have a big problem. i explain what i am doing to have a better vision of the problem i am facing with: i have to create a java GUI which calls a C dll which perform several operations....