MSDN advises that RegisterWindowMessage() function is only used for registering messages to be sent between the processes. If a message is needed for sending within one process it can be safely selected from the range WM_APP through 0xBFFF.
However in our codebase I often see that RegisterWindowMessage() is used for messages only sent w...
I am looking out for a Web-Based Svn client.
I already use a SVN server.
My requirement is to login anytime, anywhere and edit the source code and checkin
I googled a lot for this with no satisfactory outcome, all i got were web-server installable
services (i do not own a webserver to install these stuffs)
This same question is posted...
I need to translate a Microsoft locale ID, such as 1033 (for US English), into either an ISO 639 language code or directly into a Java Locale instance. (Edit: or even simply into the "Language - Country/Region" in Microsoft's table.)
Is this possible, and what's the easiest way? Preferably using only JDK standard libraries, of course, b...
Hi
I am using WLAN Api i.e WlanGetAvailableNetworkList() for signal strength of wireless lan modem/USB datacard.If somebody have some sample code example or some information pls send me.
...
In a windows (XP) batch script I need to format the current date and time for later use in files names etc.,
Similar to http://stackoverflow.com/questions/864718/how-to-append-a-date-in-batch-files but with time in as well
I have this so far:
echo %DATE%
echo %TIME%
set datetimef=%date:~-4%_%date:~3,2%_%date:~0,2%__%time:~0,2%_%time:~...
Hi,
I just setup cron on my windows dev system in order to perform
an hourly run of a script.
I tried to edit crontab in order to run my script hourly, sadly
with no success.
Could anyone pls. drop me the crontab line which will execute
script.xy every hour?
...
What is the closest way to emulate autorunning a CD (or other media, I guess) using Process.Start and ProcessStartInfo?
I've tried obvious things like:
// Just opens the folder
Process.Start("F:");
// Ditto
Process.Start(new ProcessStartInfo("F:") {UseShellExecute = true});
// Throws System.ComponentModel.Win32Exception: No applicati...
I call RegisterEventSource() function during my service stop. But it is returning null during system shutdown. Is there any reason for this behavior?
Error: I get error code 0x800706b5 on GetLastError()
When googled, I came to know that it has something to do with missing registry data.
Also, how to check if system shutdown has starte...
Hi all
I have some code that uses pip to bootstrap a Python envionment for out build process: this is a lovely way of ensuring we get proper isolation of the build requirements from the rest of the host system, and helping us get more consistent build results overall.
Anyway, the code I have that drives pip.py appears to have some prob...
What tools and techniques are available for optimizing the working set for a large Windows application? There used to be tools like WST and SWS, but they appear to be deprecated. We think we can get runtime performance improvements by moving or removing less used code and resources, thereby optimizing the working set for our program.
...
Within a Thread in IRQL 0 the completion routine, triggered from an IRP, for a WskSendTo call is sometimes in IRQL 2 and sometimes in IRQL 0. This seems mighty strange to me. Does anyone know if this is normal behaviour?
...
Was wondering how you'd do the following in Windows:
From a c shell script (extension csh), I'm running a Python script within an 'eval' method so that the output from the script affects the shell environment. Looks like this:
eval `python -c "import sys; run_my_code_here(); "`
Was wondering how I would do something like the eval sta...
When I display a WPF window with WindowStyle="None", it looks great when using areo.
However, when I use luna or classic, it displays an ugly gray border about 5 pixels wide.
Of course, if I set ResizeMode="NoResize", this border disappears but I would like the window to be resizable (ResizeMode="CanResize").
Other non WPF application...
We have a crummy legacy Windows application (already discussed here) which replicates content to from a Windows host to many Linux hosts. We several instances of it running on several boxes. Each instance has its own .ini file containing a list destination servers. Fairly often we need to change the content of these files and restart the...
Hi all!
I'm working on an windows application that requires separate events for the push and release of a button. While the button is pushed I have to rotate an opengl scene that is on a child window.
I'd like to do that way in order so user doesn't have to make multiple button clicks each time he wants to rotate the scene.
I've seen...
I would like to find the height/width of an image on disk without opening it, if possible (for performance reasons).
The Windows properties pane for images contains information like width, height, bit depth, etc., which leads me to believe that it is storing metadata on the file somewhere. How can I access this information?
...
I'd like to create Windows installer, which follows these steps:
warn user to exit all programs
introduce the extension to be installed
if appropriate, ask the user for the name of the registered owner and for the license key
display the extension's licensing agreement and ask the user to accept
recommend a location on the disk to inst...
I'm using gtk on windows and I need an ability to create a pipe for communication between processes via g_io_channel_win32_new_fd. How do you do that on windows?
...
I need to use command line switches to execute the 'Save as Text' command. Ideally, I want to:
use a command line switch to open a PDF
use a command line switch to convert the PDF to a text file by mimicking the 'Save as Text' command.
use a command line to close the PDF.
Is this possible? If so, then does anyone know how to do this?...
I am working on a Windows program codebase that has heretofore been 32-bit. I am trying to make this codebase 64-bit clean. Turning on “top down” allocations in the heap manager by setting the “AllocationPreference” registry value has been very helpful in turning up bugs where code was guilty of coercing pointers down to 32-bit values (s...