Tech Support > Microsoft Windows > Development Resources
GMT
Posted on May 10th, 2004 | 4 Comments

Hi is there a call that will get the time in GMT as opposed to local time? Thanks. -- S -- I live my life like I play games, I cheat. - Trolls are your enemies, wipe them out.

CreateProcess question
Posted on May 10th, 2004 | 3 Comments

Hi, I am trying to write an application that will launch a second application using CreateProcess... SECURITY_ATTRIBUTES sa; STARTUPINFO si; PROCESS_INFORMATION pi; ::ZeroMemory( &sa, sizeof(sa) );

Re: Loading texture bitmaps! (opengl)
Posted on May 10th, 2004 | 1 Comments

"DigitalDragon" <kreso@cateia.com> wrote in message news:c7gkdh$l32$1@ls219.htnet.hr... Ok! I checked glaux.h header file, and I found the definition of an "AUX_RGBImageRec" structure. ...

LogonAsUser - problems with 2003
Posted on May 10th, 2004 | 5 Comments

Hello, I've got a simple test program which re-produces this problem we've had on all 2003 machines we've tried it on (only about 3). It doesn't happen on our 2000 machines (another 3...

Adding entries to Application event log-Replacements strings
Posted on May 10th, 2004 | 2 Comments

I want to add some entries to the application event log on behalf of another applictaion. I am using the EventID and Event Source that the application itself normally uses. I will be passing in...

detecting if focus window is fullscreen
Posted on May 10th, 2004 | 2 Comments

I want to detect if the current window in focus is a fullscreen window. I thought about something along the lines of: HWND lFocWnd = GetFocus(); WINDOWINFO lWndInfo; lWndIndo.cdSize =...

Flickering toolbar buttons!
Posted on May 10th, 2004 | 1 Comments

I have created a toolbar with the CreateToolbarEx() API, and I'm using the following window styles : WS_CHILD | WS_CLIPSIBLINGS | CCS_TOP Now, my problem happens whenever I resize the main...

Re: Does Windows automatically cleanup tray icon when application terminates?
Posted on May 9th, 2004 | 0 Comments

Clean it up manually. Otherwise the icon will hang around for a little while and when the user touches it with the mouse (or when the system otherwise tries to talk to it), only then will it realize...

Re: Does Windows automatically cleanup tray icon when application terminates?
Posted on May 9th, 2004 | 0 Comments

I guess you're testing under Windows XP. Previous Windows versions are not that smart, and your tray icon would keep sitting in the task bar. I can't see why this should not happen. I bet Windows...

File execution
Posted on May 9th, 2004 | 1 Comments

Hello, I'm trying to find a way to open up a program (such as cmd), and read/write from it. Any help will be appreiciated. Yaniv

Animation Control
Posted on May 9th, 2004 | 2 Comments

Hey guys, How can I have my animation control be displayed without a border? No matter what styles I use, if any, I always have a little border around the edges. I am trying to get it to look flush...

Is the equivalent of a LPCSTR a const TCHAR* ?
Posted on May 8th, 2004 | 4 Comments

I assume I can replace any instance of LPCSTR in my code to const TCHAR* to compile for Unicode? Angus Comber ac@NOSPAMiteloffice.com

Accessing Active Directory : unresolved token on REFIID types
Posted on May 8th, 2004 | 3 Comments

I'm a bit of a newbie to C++, so I apologize in advance if this is silly. I've found many examples of binding to AD with ADsOpenObject or IADsOpenDsObject. I can't compile my code. I've tried...

Insert Items/Values to combobox
Posted on May 8th, 2004 | 1 Comments

Hi, I got another question ( probably rediculous, but I just cant`t find a solution ). I created a Dialogwindow using the resourceeditor and added a combobox. In the TextField "Data" in the...

Tracking mouse coordinates!
Posted on May 8th, 2004 | 2 Comments

My app captures the mouse (via SetCapture) during a drag operation. When I drag the mouse far to the left, the mouse's x-coordinate gets closer to 0. But......when I drag the mouse completely (to...

no stdout in child process under XP
Posted on May 7th, 2004 | 2 Comments

Pls, advise. I can not see stdout/stderr on console from child process under XP. It runs ok under Win98. PLease, advise - how to put them to console alltogether. Here is code I used and results I...

RegCreatKeyEx, RegSetValueEx, RegQueryValueEx Problems SNMPExtensionQuery function
Posted on May 7th, 2004 | 10 Comments

Dear all, I create a SNMP MIB (Extension Agent) in VC++ . In the SNMPExtensionQuery function, I tried to use RegCreateKeyEx,RegSetValueEx, RegQueryValueEx functions. But these function do not work...

NetShareAdd/Unicode? issues
Posted on May 7th, 2004 | 3 Comments

I have an issue where I am getting back errors from the NetShareAdd function. The function is returning ERROR_INVALID_NAME and is setting my "parm_err" variable to 8. From reading up on this it seams...

SetWindowsHookEx, WH_GetMessage, WH_CallWndProc
Posted on May 7th, 2004 | 0 Comments

Hello all, I'm trying to monitor system-wide events and notifications sent (and/or posted, if there's a difference) to user-specified windows. For example, if I want to know everytime window xyz...

two-threaded application
Posted on May 6th, 2004 | 5 Comments

Hi, I have 2 threads in one application. When I stop one thread, by closing the window, the other thread keeps hangind around, and I had to use the task manager to end it. How do I arrange so that...