I have a windows batch command in my hudson build step that is basically:
xcopy /s *.* \\serverlocation\buildname\
The copy is failing with:
'xcopy' is not recognized as an internal or external command, operable program or batch file.
However, xcopy is usable on the command line (as is copy). What do I need to do to make hudson u...
I'm trying to innocently call
PeekMessage(&msg, 0, WM_KEYDOWN, WM_KEYUP, PM_NOREMOVE | PM_NOYIELD);
and Windows Vista 64, in the PeekMessage call, is processing messages. The result is that I'm going re-entrant on my paint call, and all sorts of other code.
Painting can take seconds in our application, so we added the PeekMessage ca...
Hello,
I have a large cluster of files that I'm trying to pack into a single self-extracting executable and have so far been able to accomplish this with both Installshield 10.5 and Winzip Self-Extractor 4.0, however I cannot get the icon to appear for the final .exe file (right now, windows default white window/blue title icon is being...
I've noticed that many Microsoft applications will name some buttons with "..." at the end. These buttons always seem to open up a new dialog. There are some buttons, however, that don't have "...", but do open up new dialog.
For example, in Windows XP, when I open a folder's "Properties" dialog from Windows Explorer, there is an "Adv...
I have an application that is hosting some unstable third-party code which I can't control in an external process to protect my main application from nasty errors it exhibits. My parent process is monitoring the other process and doing "the right thing (tm)" when it fails.
The problem that I have is that Dr. Watson is still detecting c...
Every time I test my program, I have to go through a bunch of the same keystrokes and mouse clicks. I am looking for a tool to automate this like a Macro recorder. The tool needs to save the clicks and keystrokes one time. Then every time my program runs, I hit a keyboard shortcut and it does its work.
I see a lot of such shareware tool...
I have a directory that continually fills up with "artefact" files. Many different programs dump their temporary files in this directory and it's unlikely that these programs will become self-cleaning any time soon.
Meanwhile, I would like to write a program that continually deletes files in this directory as they become stale, which I'...
How do you insert msi installers into a custom made (nLite) Windows XP install?
...
I installed a default installation of PostgreSQL 8.4 on Windows 2003 Server, using the one-click installer provided. Running psql -l for the first time, I noticed there are three databases installed by default: postgres, template0, and template1.
Being security-minded, my initial reaction is to delete or change default configurations. H...
Hi, I'm interested in injecting DLLs into SYSTEM owned processes on my Vista machine. I'm going about this using the traditional method of VirtualAllocEx, WriteProcessMemory and CreateRemoteThread. However, because this will be operating on SYSTEM processes, I enable SeDebugPivilege on the injecting process before opening the target pro...
Not sure what's going on here.
I have an Windows console app written in C. When I run it from within VS2008, it runs fine. If I run it from the cmd.exe prompt, it crashes, usually in malloc(). I am guessing it is a race condition due to a mismatched CRT library.
The app is simple.
It calls into the WinHttp layer to send a GET reque...
My main goal is to get this up and running.
My hook gets called when I do the commit with Tortoise SVN, but it always exits when I get to this line: Python "%~dp0trac-post-commit-hook.py" -p "%TRAC_ENV%" -r "%REV%" || EXIT 5
If I try and replace the call to the python script with any simple Python script it still doesn't work so I'm as...
I need to design a "Conditions of Use" dialog that is presented to users after they logon to Windows XP. It must not allow the user to proceed until they check an "I agree" box. It must not be possible to shut it using Task Manager or any other method. And it should be fullscreen and modal. The "I agree" will remain checked automatically...
Hi All!
Is there a way to create a user-mode process from kernel-mode on Windows NT platform (XP-W7)?
EDIT: I must install only the driver. This is a specific of the project.
...
hi all,
cant we increase the windows form size more than 1452, 912..coz i have to show four data grid views on one single form and im not able to do it.
...
In a windows version with tablet support, a small keyboard icon appears when an edit control gets focus. If you touch it the touch keyboard pops up.
Is there a way to disable this? It's rather inconvenient if you have your own touch keyboard.
I want to disable it for certain edit controls in code, ie. I'm not looking for a Windows sett...
I'm currently writing a Java application to be used with a Windows-Machine authed with an ActiveDirectory. The application basically only needs to know the user's name and hostname. I know there are
System.getProperty("user.name")
and
java.net.InetAddress.getLocalHost().getHostName()
But I am not sure wether System.getProperty("user....
I see a lot of references to IExtractImage when researching how to generate thumbnails in explorer, and I cannot use the new API which is Vista/7 only as the target OS is XP.
Almost all the results I've found talk about using IExtractimage to acquire thumbnails, not implementing IExtractImage to create them. I don't want to retrieve thu...
I am trying to install a ruby gem. I am getting this error.
C:\>gem install racc
Building native extensions. This could take a while...
ERROR: Error installing racc:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb install racc
extconf.rb:3:in ``': No such file or directory - uname -p (Errno::ENOEN...
I need to parse the file version and product version from windows exe and msi files.
Could you point me to the file specification or the library (preferably in Java) that does that?
UPDATE:
It turns out I cannot use winapi, as the code needs to run on linux as well...
...