How do I (or can I?) retrieve the cached credentials for the currently logged-in Windows user in Java? I want to reuse these credentials in some other GSS-API calls. Specifically, I'm answering an SPNEGO challenge from IIS.
Thanks.
...
How can I use several computers to create a faster environment? I have about 12 computers with 4GB each and 2GHz each. I need to run some time consuming data transform and would like to use the combined power of these machines. They are all running Win2003 server.
Basically we have a large number of video files that we need to transform...
Can you measure the width of a string more exactly in WIN32 than using the GetTextMetrics function and using tmAveCharWidth*strSize?
...
I've read the documentation for ReadDirectoryChangesW() and also seen the CDirectoryChangeWatcher project, but neither say why one would want to call it asynchronously. I understand that the current thread will not block, but, at least for the CDirectoryChangeWatcher code that uses a completion port, when it calls GetQueuedCompletionSt...
i want to test how my application reacts to high-dpi settings. i don't just mean 120dpi. i want to test higher dpi settings, such as:
150dpi
300dpi
600dpi
1000dpi
1200dpi
My development machine's video card cannot do the resolutions required to have 300dpi, (or even 150dpi for that matter).
Assuming the interface is designed to 'fi...
I wonder what I should be carefull of updating PHP on Windows(with Apache). My current version is 5.2.9-2
My php folder is simply under C:\php
If I simply download and unzip the new version, 5.3, which is a little more significant than going from 5.2.8 to 5.2.9, I'm thinking I need to be carefull not to overwrite some files.
I'm think...
Does anyone know of a program for Windows Server 2008, Windows 7, etc. that allows you to do the following:
Automatically replaces the Windows copy feature with improved features allowing you to:
Copy files from A to B with the ability to shutdown/restart your machine mid-process ... upon restart it resumes
Allows you to pause copying...
I need to integrate an off-the-shelf Windows application with a Java application. At a few key points, I need the Windows application to send an "event" and some data to the Java application.
The Windows application anticipated this need, and can be configured to "Poke a DDE Item", "Set an OLE Auto-Property" or "Write an OPC Item".
I'...
Is .NET better than Win32 or the othe way around?
Which would be the pros \ cons of both, in what situations one would be better than the other.
Has Microsoft released .Net as a replacement for Win32?
I am not asking about the amount of projects needed to be maintained, but about
new projects being developed, and which would be better f...
I just downloaded a fresh copy of Tomcat6 to install on a development server. The server is running Win2k3 SP2 and Java6.
When I go to start Tomcat6 it reports the following:
D:\>d:\tomcat\bin\tomcat6.exe //TS/Tomcat6
[2009-07-14 15:26:38] [427 prunsrv.c] [error] The operation completed successfully.
[2009-07-14 15:26:38] [1336 pruns...
I've got an IntPtr marshaled across an unmanaged/managed boundary that corresponds to an Icon Handle. Converting it to an Icon is trivial via the FromHandle() method, and this was satisfactory until recently.
Basically, I've got enough thread weirdness going on now that the MTA/STA dance I've been playing to keep a hosted WinForm from ...
Here's the deal: I have both a last gen Unibody Macbook Pro 15" (base) and a ThinkPad T500 sitting in front of me (don't ask). The Macbook Pro is beautiful and OS X appears to be very interesting. However, my tool set lies within Windows - Visual Studio, VB.NET, C#, ASP.NET, etc.
I'm really torn on this potential decision. Part of ...
I'm pretty curious about how Windows and Linux does memory management with C++ programs.
The reason of this curiosity is because I've just made 3 very simple programs in C++ portable between Linux and Windows. The code was exactly the same. The hardware too. But the results were incredibly different! Both tests were repeated 10 times an...
What is the best operating system to develop while using C++? I would like the OS that has more tools and software for C++ development. I also want to develop only for the command line, because I find GUI development in C++ to be confusing.
...
I'm writing a windows service in C# that spawns multiple instances of another application I am writing. There is a chance that the application can be installed anywhere on a machine. What is the best way to let the service know where the application is located?
...
How do Windows NT (especially XP, Vista and Server 2008) ACLs (access control lists) work? What is the basic philosophy underlying them, that is, exactly what is stored, conceptually, in the ACLs, and how are access permissions evaluated based on the stored information?
What are the basic, command line and otherwise, utilities for manag...
I found similar questions but no answer to what I am looking for. So here goes:
For a native Win32 dll, is there a Win32 API to enumerate its export function names?
...
When an application saves a file, a typical model is to save the file to a temporary location, then move the temporary file to the final location. In some cases that "move" becomes "replace". In pseudo code:
Save temp file;
if final file exists
delete final file;
move temp file to final filename;
There's a window in there where ...
I have a Windows Service that performs a long-running process. It is triggered by a timer and the entire process can take a few minutes to complete. When the timer elapses the service instantiates a management object that performs the various tasks, logs the results and then exits.
I have not implemented anything to handle those occasio...
An ASP.Net application we have recently developed is creating what I believe to be non standard Guids. The Guids are being created using the .Net framework method Guid.NewGuid(). Here are some examples of the guids created:
00000000-0000-0000-210f-0160000000f6
00000000-0000-0000-c02b-0160030000fc
00000000-0000-0000-ca2b-0160030000fc
000...