Tech Support > Microsoft Windows > Development Resources
Quest: Finding out how many heads a HDD have...
Posted on April 2nd, 2004 | 3 Comments

I am trying to convert Floppy CHS <--> LBA address functions to CHS <--> LBA functions by changing the sectors/track and head/cylinder constants and I can only get from DeviceIoControl() w/...

Borland C++ Builder - invalid OMF record, type 0x21.
Posted on April 2nd, 2004 | 2 Comments

I have some DLL's that I have made from Visual C++ 6.x and I am trying to use them in my Borland C++ Builder project. The project compiles fine with no errors, but the linker gets the...

Control advice?
Posted on April 2nd, 2004 | 0 Comments

I'm making a sound patch librarian for a synthesizer. I have a synthesizer that has 32 slots for sounds and I want to create two list boxes that show, for example, a file with 32 sounds on the left...

Size of Window
Posted on April 2nd, 2004 | 2 Comments

I need to know the exact size of the Window on the screen, including Menu, Statusbar and Borders. Is there an easy way to get these width and height values?

better way to display text?
Posted on April 2nd, 2004 | 3 Comments

Hi everyone, I am pretty much a newbie in Windows programming, I'm trying to get into win32 api. Just as an exercise I would like to code a hexadecimal editor and I am wondering which way is best to...

NT services and dependencies
Posted on April 2nd, 2004 | 1 Comments

Hi I have created a service (let's name it serviceA) which depends on 2 others (serviceB and serviceC). When checking in the service window the properties of serviceA, I can see its...

Re: How to set a C++ member function as the WndProc?
Posted on April 2nd, 2004 | 0 Comments

Allan Bruce wrote: Tim is 100% correct. To do what you require WILL need to make the member function static. There is a reason for this, no pung intended :) Consider the following simple class:

access mirrored hard drive
Posted on April 2nd, 2004 | 6 Comments

Hi, is it possible to access a mirrored harddrive? or mount the mirrored volume by using api or mfc commands? Thank you in advance Wimpi

Hyper Threading (HT) issues on Pentium 4 Systems, Windows XP Pro SP1
Posted on April 2nd, 2004 | 7 Comments

Hi to All, My multithreaded PC-inventory application has huge Problems on Pentium 4 with Windows XP. If I disable in BIOS the Hyper-Threading feature, it is running without any problems :-( Also, it...

Hmn, interesting output using WriteFile...
Posted on April 1st, 2004 | 3 Comments

Simple example using WriteFile to write "THIS IS A TEST" 5 times in a text file... ---------CODE-------------------------- HANDLE hFile; // handle to a text file DWORD numWrite; // needed...

Re: Confirm MSVC Service Pack's Installed?
Posted on April 1st, 2004 | 0 Comments

"Larry Lindstrom" <nobody@aracnet.com> wrote in message news:piGac.148840$_w.1660179@attbi_s53... If you have VB installed along with it then look at its Help | About screen.

ActiveX controls in plain Win32 SDK application
Posted on April 1st, 2004 | 0 Comments

I am adding features to a plain Win32 SDK application and would like to include ActiveX controls. Does anybody know of articles, examples, or tutorials on how to do this in a non-MFC windows app? ...

Re: Copying printer settings from 1 PC to many?
Posted on April 1st, 2004 | 0 Comments

Thanks, this was very helpful; after exporting the printer portion of the registry in question, I was able to conclude that the "PrinterData" values were different if the convert gray text to...

Re: Looking for C++/MFC and Web development contractor
Posted on April 1st, 2004 | 0 Comments

On 25 Mar 2004 20:47:29 -0800, timwhunt@yahoo.com (Tim Hunt) wrote: The average billable working time for freelancers is about 160 hours per month. Good people probably won't work for 2400 USD per...

Re: Confirm MSVC Service Pack's Installed?
Posted on April 1st, 2004 | 0 Comments

Check HKLM/Software/Microsoft/VisualStudio/6.0/ServicePacks -- it has a REG_DWORD value named latest which contains the last service pack #. "Larry Lindstrom" <nobody@aracnet.com> wrote in...

Re: Books?
Posted on April 1st, 2004 | 0 Comments

On Wed, 31 Mar 2004 19:19:20 GMT, "TheEngine" <zmengine@shaw.ca> wrote: Petzold's "Programming Windows" is the standard, but bear in mind that the Windows API is so big that even a monster book...

Re: How to set a C++ member function as the WndProc?
Posted on April 1st, 2004 | 0 Comments

Allan Bruce wrote: Just FYI, there's a discussion of this issue that I have found very useful here: http://www.rpi.edu/~pudeyo/articles/wndproc/index.html -- Pete

Using Rundll32 for accessing MAPI
Posted on April 1st, 2004 | 2 Comments

Hi all, I'm trying to use rundll32 to access the MAPI function "MapiSendDocuments" from a command line, but none of my tests worked: rundll32.exe mapi32.dll,MAPISendDocuments...

How to write to a display that is not part of the desktop?
Posted on April 1st, 2004 | 0 Comments

Confused I am indeed... I have an application that I'd like to use a dedicated display for some specialized data/graphics.. I've installed an extra display adapter in the machine, and I can find...

Re: Is synchronization necessary?
Posted on April 1st, 2004 | 0 Comments

What they said. But also declare the variable as volatile, to force its reloading from memory. This guarantees the main task will see any changes to the variable. -- #include...