I am writing a multi-thread application in windows OS.
All threads are runing as services.
If I want to change the priority of service in run time, how can I do this?
Does windows provide any API?
Many Thanks!
...
For some reason, no matter how I go about it, I cannot get TortoiseSVN to add an Author to Log Messages.
Currently we connect to a PC running svnserve, so it's not a file:// Address.
We have tried using svn://Username@svnAddress, svn://svnAddress
Even setting svn:keywords $Author: AuthorName$
I was under the impression that TortoiseSV...
Windows XP Disk Defragmenter report shows a constant gap in disk usage on a number of disk partitions on my system. I'm not referring to the little transitory gaps that occur. In disk D below, the gap in question is the one under the word "defragmentation". In disk P below, the gap is the one under "usage before def" the but a bigge...
I'm eager to give these a go, but I've only got my precious home machine to try it out.
I'm in the middle of some important work that can't get inferred with, yet I can't resist the urge to give the new bits a go.
Will installing VS10 on a Vista SP1 box with VS08 screw with the VS08 experience in any way?
...
I need to convert a UNICODE_STRING structure to a simple NULL TERMINATED STRING.
typedef
struct _UNICODE_STRING
{
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
}
UNICODE_STRING, *PUNICODE_STRING;
I can't find a clean sollution on MSDN about it.
Anyone been there?
I am not using .net so I need a native API s...
Is there an easy way to test whether your named pipe is working correctly? I want to make sure that the data I'm sending from my app is actually being sent. Is there a quick and easy way to get a list of all the named pipes?
...
My application uses loads of Java threads. I am looking for a reliable understanding how the JVM (version 5 and 6) maps the Java threads to underlying Windows threads. I know there is a document for mapping to Solaris threads, but not Windows.
Why doesn't Sun publish this information?
I want to know if there's a 1:1 mapping, or if it v...
Just wondering what the difference between MFC control messages prefixed with the following is:
LVN (e.g. LVN_ITEMCHANGED)
HDN (e.g. HDN_TRACK)
NM (e.g. NM_HOVER)
Also, I am using a ListControl and trapping when the user clicks on an item using the NM_CLICK message. I also want to trap when a user selects a new item view a key e.g. up...
I'm looking for a good open source Windows FTP client library with a public domain or BSD-type license. Something that I have access to the source code and I can use it from C++ for Windows applications in a commercial app.
We have used Wininet for years and it's buggy and horrible. The last straw is the IE8 beta 2 contains a new bug ...
A QA server of mine which has not given me any flack for a while started giving my applications errors because they could not write to a queue. MSMQ specifically threw a message saying "Insufficient resources to perform operation".
A check of the queues themselves indicate that they are empty, with zero messages each.
A check of the li...
how is it advisable to control the cpu utilization during run time ?
poll the cpu load and insert sleeps ?
...
Our application is written in C++ and used on Windows XP. On some client machines with only a C: drive, an error pop ups when the application starts:
There is no disk in the drive. Please insert a disk into drive "D"
If they hit "Continue" or insert a CD (even an empty one!) and press "Try Again", everything works fine.
Someone sugg...
OK, so I couldn't really think of an apropos title that summarizes this.
The IPrintPipelinePropertyBag interface has the method AddProperty which aptly enough "adds a property to a property bag."
http://msdn.microsoft.com/en-us/library/aa506384.aspx
AddProperty( [in, string] const
wchar_t *pszName, [in] const
VARIANT *pVa...
Hi there.
I am trying to launch the Coldfusion Server Monitor on a Windows Server 2003 (Web Edition) machine running Coldfusion 8 (ver. 8,0,0,176276). It is running in stand-alone configuration.
The pop-up window launches as http://www.mydomain.com/CFIDE/administrator/monitor/launch-monitor.cfm. However, I get a Flash dialogue box the...
I've got a large source tree (> 2 GB, WINCE build tree) that I would like to start managing with Subversion. Up to this point, 'versioning' has been managed through keeping multiple copies of the tree, and using Beyond Compare to find differences.
The last big stumbling block I see to using Subversion is that it modifies the file timest...
I'm unable to make a remote connection to an Oracle XE install (through TOAD / SQL Developer). Here's the deal.
I set up a new server (windows 2003). The goal was to make a new image with several applications preinstalled, Oracle XE being one of them. Got Oracle installed no problem, connected locally, remotely and had access to the ...
Why did Windows 64 choose to require xmm6 and xmm7 to be saved/restored?
In Windows 32, you could write assembly routines which clobbered xmm0...xmm7. But if you take that same assembly code and run it in Windows 64, it will usually cause an application fault because VS2007 stores double-precision values in xmm6 and xmm7.
It seemed to ...
If I want to build a native GUI application on Windows (C++), do I have to use MFC for the UI building framework, or are there other technologies I can use? I know it's a silly question, and the answer is probably, "use MFC or make API calls directly", but I'd like to hear some opinions.
...
How to make a shadow to main window widget on windows using Qt?
...
ShellExecute() allows me to perform simple shell tasks, allowing the system to take care of opening or printing files. I want to take a similar approach to sending an email attachment programmatically.
I don't want to manipulate Outlook directly, since I don't want to assume which email client the user uses by default. I don't want to s...