Tech Support > Microsoft Windows > Development Resources
rotate 90 degrees
Posted on October 12th, 2003 | 6 Comments

I want to Text Out to the screen at 90 degree angle ( ie reads from bottom to top) How can i do this? Also BitBlt a bitmap at 90 degrees?

My service's handler doesn't receive SERVICE_CONTROL_SHUTDOWN
Posted on October 12th, 2003 | 2 Comments

My service's handler doesn't receive SERVICE_CONTROL_SHUTDOWN I have read...

FWD: Prove this corrective patch that came from Microsoft Corporation
Posted on October 12th, 2003 | 0 Comments

unit conversions
Posted on October 12th, 2003 | 0 Comments

If I have a tabstop that is default 32 dialog units, if I use MapDialogRect() wont that return that value in pixels if MM_TEXT is selected? Also I cannot figure out what unit of measurement...

obtaining a window handle
Posted on October 11th, 2003 | 1 Comments

"brigham white" <brighamandrew@msn.com> wrote: FindWindow(...) I think you can often just use 0 as the hwnd of the desktop. But GetDesktopWindow() is there as well and gives a non-0...

using the IMimeEdit Interface with COM
Posted on October 11th, 2003 | 0 Comments

Hi, I have imported the inetcomm.dll into my VC++ project. I have setup everything and when i call CoCreateInstance, it says that the class is not registered. Even though it shows up in the...

Retriving version info from DLL
Posted on October 11th, 2003 | 2 Comments

I'm trying to display some version info from inside my DLL. To retrive the version info from the resource VS_VERSION_INFO block I use the following code: LPVOID pData = 0; LPVOID pBuffer =...

SOLVED: ALT-key main menu access when child dialog has focus
Posted on October 11th, 2003 | 2 Comments

The problem: My program's main window is a modeless dialog which can have child dialogs. When a child has the focus, ALT-F (for example) won't pop up the File menu; instead, the ALT is ignored and...

Is there a way to have a service (no window) be notified when system shuting down?
Posted on October 11th, 2003 | 1 Comments

Is there a way to have a service (no window) be notified when system shuting down and even stop shuting down? --------------- Kenji Chan

Getting sectors in use by file
Posted on October 11th, 2003 | 1 Comments

Is it possible to get the sectors in use by a given file, that was created with CreateFile function? I know that with SetFilePointer and ReadFile, I can read any logical sector associated with a...

Windows Service doesn't start using user's account
Posted on October 11th, 2003 | 2 Comments

I wrote a small test Windows Service, which I installed using Install Util. Although it didn't do anything useful I was able to start/stop on my command as expected under the Local System account....

Windows Service Restart operation with Parameters
Posted on October 11th, 2003 | 2 Comments

Hi All I have a question regarding Windows Service restart operation In creating the service Ive used CreateService API passing it "C:\SomeDir\test.ext Param1 Param2" as the executable path with...

Windows Service Stdout/Stderr Redirection not working
Posted on October 11th, 2003 | 2 Comments

Hi All I have a question regarding redirecting stdout and stderr in a WindowsService I have duped a log file descriptor to stdout and stderr in an application. When the application is run in console...

Look at these critical update that comes from the MS Corporation
Posted on October 11th, 2003 | 0 Comments

SetEvent() and WaitForSingleObject()
Posted on October 11th, 2003 | 7 Comments

Hello, I am trying to use events to tell the "main application thread" when to stop a thread that it has spawned. I created the following test program (yes, I know, it doesn't do anything meaningful)...

Prove security pack from the MS Corporation
Posted on October 11th, 2003 | 0 Comments

Trying to register inetcomm.dll
Posted on October 10th, 2003 | 0 Comments

Hi, I have been using OLE View From MSVS and I've found an interface that i would like to use. I imported the library in my project using the #import directive...and i have correctly setup the...

Floppy Image
Posted on October 10th, 2003 | 5 Comments

Hey guys, How would one write a floppy image to a floppy disk? It is straight forward to write the file as a file to the disk, but how about down at the sector level? Kip

Force a WM_SIZE message
Posted on October 10th, 2003 | 3 Comments

Hi all! How do I force my window to get a WM_SIZE message? Obviously I don't want to send a WM_SIZE message explicitly, as I then have to supply the width and height. Is there an API that...

list box controls
Posted on October 10th, 2003 | 2 Comments

I want to have control over the formatting of text for strings I add to a list box control. Particularly I want to have control over how many logical units in a horizontal direction to be able to...