I've got a Windows XP batch script which cleans some directories, but I would like to move the deleted files to trash instead of using plain del. How is this done?
It looks like the only languages I can use for this is plain batch or Perl.
...
I'm trying to use Apache 2.2 and mod_fastcgi.dll on Windows to test a FastCGI appliction I'm making. I've added this to httpd.conf:
LoadModule fastcgi_module modules/mod_fastcgi.dll
FastCgiExternalServer "C:\test\fcgitest.exe" -socket fcgitest
<Location /fcgitest>
SetHandler fastcgi-script
</Location>
I'm using FastCgiExternalServ...
For some reason on my application when running on some configuration of hard disk (RAID, random partitions, through a separate IDE controller, not on the operating systems partition), VirtualAlloc returns null with the GetLastError code of ERROR_INVALID_PARAMETER.
The only parameter apart from the flags (MEM_COMMIT | MEM_TOP_DOWN, PAGE...
Hi,
I developed a windows service to write PDF file in a directory. The service has no problem to write file in local drives. But when it tries to write in network mapped drive it failures and writes the file in application directory.
...
I'm trying to emulate MS Office print dialog's printer selection combobox. The drop-down list contains printer names with large printer icons to the left. On Vista fax printer has a nice fax icon, shared printers are marked, default printer too. Best would be to be able to view some more printer info too, like explorer does viewing Contr...
I need to start a process and keep it running on several remote windows (03 and 08) servers.
When I telnet in and start the process and sign out of my telnet session, the process dies.
I changed the registry settings so the pertinent tlntadmn output looks like this:
End tasks on disconnect : NO
restarting the service and/or reb...
Hey Guys,
We have a batch job that runs every day and copies a file to a pickup folder.
I want to also take a copy of that file and drop it into an archive folder with the filename
yyyy-MM-dd.log
Whats the easiest way to do this in a Dos Batch Job...
I'm basically looking for an equivalent of the unix command
cp source.log `date +...
Hey guys,
i've got a hundred pages long high quality PDF (66MB) that needs to be converted to TIFF format (300 dpi, as high quality as possible :P).
I've tried Imagemagick/ghostscript, jpedal, Poppler, XPDF but they all produce different results due to the strange gradient of the PDF itself (blame the designers) and some actually take ...
Hello everyone,
I am programming on Windows Media Encoder 9 to record screen, and we can select two video codecs, (1) Windows Media Video 9 codec and (2) Windows Media Video 9 Screen codec.
My questions,
I am a little concerned about using (2), since I think for most client computer, they intalled with Windows Media Video 9 codec, bu...
Unlike this question:
http://stackoverflow.com/questions/704294/linker-error-while-building-application-using-boost-asio-in-visual-studio-c-200
I need an x64 build of the lib files... I'm not even sure how to get started. I'm reading here:
http://www.boost.org/doc/libs/1_39_0/more/getting_started/windows.html
Or, more generally, how ...
I'm just getting started with Boost for the first time, details:
I'm using Visual Studio 2008 SP1
I'm doing an x64 Build
I'm using boost::asio only (and any dependencies it has)
My code now compiles, and I pointed my project at the boost libraries (after having built x64 libs) and got past simple issues, now I am facing a linker erro...
Is there a way to automatically sign a C++ executable generated by Visual Studio 2008? I couldn't find anything similar to the "signing" tab in Properties that exists for managed apps.
Any ideas? I want to automatically sign my executable when it's built (using msbuild command line).
...
Hi all,
We've written an application that works fairly well in XP, but is having serious migration issues to Vista and Windows 7, probably due to where user data is being written.
The use case is this:
Individual users need to log in to the machine and use it to acquire data. Supervisor users need to be able to look over the shoulder ...
I was going through a legacy code and found that the code uses SuspendThread Function to suspend the execution of a worker thread. Whenever the worker thread needs to process a request, the calling thread resumes this worker thread. Once the task is done the thread suspends itself.
I don’t know why it was done this way. According to me...
Hi
I've added a new library to my application (multiple projects-DLLs) - SQLite, to perform some in memory caching. There is just one library/project that is affected by this change - Lib1.
A build goes through fine. All libraries are built successfully and no errors are reported, including a couple of Com Objects.
If I try to registe...
I have a Win32 application, and there are some animiation UI in my application, to make the animiation more smooth, I called timeBeginPeriod to improve the time resolution, but I found the system clock will delay some seconds if my application is running very long time. Does the timeBeginPeriod affect the system clock?
...
I develop a critical application used by a multi-national company. Users in offices all around the globe need to be able to install this application.
The application is actually a plugin to Excel and we have an automatic installer based on Setuptools' easy_install that ensures that all a project's dependancies are automatically installe...
I have many browser windows, opened from JavaScript. And I want to manage them - place cascade, tile and resize them all at the same time. Are there any libraries that can help me?
...
Hello,
I noticed that when reading MIDI port names from MME, the names are multi-byte strings encoded using the ANSI Codepage, which my app uses by default. When receiving those names from the DirectMusic driver, the names are wide-character strings encoded with the OEM Codepage. See this article by Raymond Chen for a quick refresher on...
I have an installer that works perfectly under NT 5.x, Vista, and Windows 7. It contains the proper manifest for UAC on NT 6.x.
But starting with Windows 7 RC, every time the setup program closes, Windows produces an erroneous "This program might not have installed correctly" message, even though the program did install correctly with ...