Hi,
I want to store some information in the EPROCESS structure of the process in windows NT kernel. My aim is that when winlogon is called I want to assign a unique value to the next process based on which user logs in. But I do not know where to store this unique ID. I have tried and succeeded in modifying some information (like the t...
I have a problem that I feel is best implimented in a stand alone windows application, but needs to pass data to a web page that is already open.
Is it possible to pass the data directly to the web page?
If so, what is the best way to go about it?
(Its my first question, so go easy on me!)
...
How can I rotate the Apache Access and Error logs on a Window 2000 box?
I include my batch file below as an answer.
Is there a way of doing this directly via the Apache config file? I'm currently using the following customlog command to generate daily logs.
CustomLog '|" "Apache-Path/bin/rotatelogs.exe" "Apache-Path/logs/backup/inter...
I've got a function:
int RunProgram(string exeName, string parameters);
(I'm actually trying to use the ViX API to automate a virtual machine... but I think the following question may apply in other circumstances).
And I'm trying to do this:
RunProgram("c:\\windows\\system32\\cmd.exe",
"/C \"C:\\Program Files\\Somewhere\\SomeProgr...
Hey,
I'm about to be forced to write a script to download some number of files under Windows XP. The machines the script will be run at are all behind a proxy, and the proxy settings are entered into the IE configuration.
What came to my mind was either to somehow call IE from the command line, and using its configuration download file...
Is there a "win64" identifier in Qmake project files? Qt Qmake advanced documentation does not mention other than unix / macx / win32.
So far I've tried using:
win32:message("using win32")
win64:message("using win64")
amd64:message("using amd64")
The result is always "using win32".
Must I use a separate project-file for x32 and x64 ...
I've used Emacs for years on Linux, and I have lots of personally useful keybindings I've put under Hyper and Super. Nowadays I'm using Emacs on Windows and am missing those extra keybindings.
Is there some way in Windows to get modifier keys other than Ctrl and Meta?
...
In Visual Studio 2005, I have a solution with explicit dependencies specified via the Project Dependencies dialog.
When I build via devenv /rebuild Release for example, the projects are built in a different order than when loading up the IDE. This is an order not allowed by my specified dependencies.
In some cases, devenv crashes :(
...
I'd like to find Windows batch counterpart to Bash's "$@" that holds a list of all arguments passed into script.
Or I have to bother with "shift"?
...
I'm writing a screen recording app for Windows in Delphi 7 and wish to know when the mouse pointer changes in my app (like from a normal pointer to a resize pointer, etc).
Currently what I'm doing is painting the mouse pointer onto an in-memory bitmap everytime the mouse moves (and on a timer) and doing a pixel by pixel comparison of it...
Have GHC 6.8.3 and wxHaskell-0.10.3 on a Windows XP computer. Installed both as binary distributions, not by building from sources. Built a sample with the following command:
ghc --make Paint.hs
It works on that same computer it was built on (with GHC and wxHaskell installed), but fails if transferred to another one (with neither of th...
My program run fine from anywhere else on my drive apart from the Program Files directory (windows XP), I am logged on as administrator so I have full permissions to the drive. It runs fine from the root of c: the windows directory basically anywhere else apart from Program Files. I have recreated this problem on 4 different machines 2 X...
On a Unix systems it's very easy to compile the CLASSPATH by using find:
LIBDIR=`find lib/ -name \*.jar`
for DIR in $LIBDIR:
do
CLASSPATH="$CLASSPATH:$DIR"
done
java -classpath $CLASSPATH com.example.MyClass
What would be the aquivalent in a Windows batchfile?
...
Hello.
I'm using Windows XP Service Pack 3 and have Command Extensions enabled by default in the Windows Registry.
Somehow, the following command does not work on this version of Windows but if I run it in Windows Server 2003 or Windows Vista Business, it works just fine. Any clue?
The problem is that on Windows XP, it seems like the /...
I would like to execute multiple commands in a row:
ie (just to illustrate my need):
cmd (the shell)
then
cd dir
and
ls
and read the result of the ls.
Any idea with subprocess module ?
UPDATE:
cd dir and ls are just an example. I need to run complex commands (following a particular order, without any pipelining). In fact, i wou...
I have been told that Windows programming can be done using either .NET, or MFC or C++ with the Windows API as described in "Programming Microsoft Windows" book
I have a few questions, listed below:
Would it make sense for .NET developers to learn Windows Programming as taught in Charles Petzold's - Programming Microsoft Windows bo...
Is there any way to get code level access to a bluetooth mapped drive? The simple use case is I have a bluetooth folder in Explorer that looks something like:
"My Bluetooth Places\Entire Bluetooth Neighborhood\DEV1\OBEX File Transfer\E:\"
which maps to a device root, and I want to be able to read/write to the file system by treating ...
I have a ComboBox that I set up like this:
this.cmbCustomerJob.DisplayMember = "display";
this.cmbCustomerJob.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
this.cmbCustomerJob.AutoCompleteSource = AutoCompleteSource.ListItems;
this.cmbCustomerJob.DropDownStyle = ComboBoxStyle.DropDown...
Hello
I need to decide on a GUI/Widget toolkit to use with Python for a new project. The target platforms will be Linux with KDE and Windows XP (and probably Vista). What Python GUI toolkit looks best and consistent with the native look and feel of the run time platform?
If possible, cite strengths and weaknesses of the suggested toolk...
For a current project, I was thinking of implementing WebDAV to present a virtual file store that clients can access. I have only done Google research so far but it looks like I can get away with only implementing two methods:
GET, PROPFIND
I think that this is great. I was just curious though. If I wanted to implement file uploading ...