When a change is made within a directory on a Windows system, I need a program to be notified immediately of the change.
Is there some way of executing a program when a change occurs?
I'm not a C/C++/.NET programmer, so if I could set up something so that the change could trigger a batch file then that would be ideal.
...
In the last couple of days, I've been trying to get a solution to an active_record issue that has been plaguing me. Posts on railsforum and stackoverflow have turned up completely dry. The length and level of detail in those posts may have dissuaded commentors, so I'm trying again - in brief.
Under windows, the trap behavior is normal...
I want to write a simple batch script that loads the Visual Studio build environment using vcvars32.bat and then continue with the build, using vcbuild. However, my script won't execute past the invocation of vcvars32.bat. The last output I get is:
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
As you can see I'...
Update: I found the problem - embarrassingly/ironically enough it was was calling SetThreadAffinity() in the wrong thread, not the main one (program startup is messy...)
It's all working now, thanks for all the help! I've given everybody an upvote for taking part in my little debug session.
...
I have a host device that connects to anything running JSR-82. The problem is that I don't have a mobile device that runs JSR-82 applications. I wish I could simply connect to my host device within windows. Is this possible?
(I am currently running Vista x64)
...
Windows Explorer in Windows 7, and maybe Vista too (can't rememmber), does not have a title in the window. but does have a title (some text) in the taskbar.
Is this possible to reproduce in C# (wpf or winforms)? either through the framework or introp.
I want to have a window that says "Options" in the taskbar but the window itself does...
Can anyone recommend a tool for MFT cleanup? I want to in my MFT restore the entries for files which once existed but have been deleted to a "pristine" state, with zeroed out entries.
...
I know that NTFS supports encryption but otherwise is closed source. Likewise, I am aware of add-ins such as truecrypt but I am interested in encryption being built-in vs being bolted on.
...
I have been reading up on on steno for a while. I have seen tools that help aid in embedding messages in .mp3's and png's etc. I am familiar that they do this by replacing the least important bit. In images, these LIB are colors that the human eye can't see; thus not needed. In audio files frequencies not audible to the human ear; also n...
I'm working on a software for test automation. To get it working it need's to "have a look" on the desktop and all open windows. It needs to know which windows are open and what controls they consist of. So it has to do something similar to what Spy++ is doing (Spy++ from Visual Studio).
Does anyone know how Spy ++ get's all the informat...
hi ,
I need to connect and disconnect the usb devices such as flash drive, etc. in programmatical manner,with out un-plug and re-plug the device.
Is there any way to do in .net,c# window application.???
Thanks in advace
...
I've got a strange situation where deleting and creating directories in quick succession on Windows Server 2008 results in some occasionaly strange errors. Sometimes I get IOExceptions, one time I have had a NotAuthorizedException.
Here is my code that works, but when stepping through in the debugger, lots of exceptions get thrown. In f...
Given the absence of a Windows fork() call, how's the multiprocessing package in Python 2.6 implemented under Windows? On top of Win32 threads or some sort of fake fork or just compatibility on top of the existing multithreading?
...
In a Win32 C++ application, we start a message loop that fetches messages from a queue, translates them and then dispatches them. Eventually, each message reaches our WndProc where the associated event can be handled.
I understand that part. What I don't understand is the in between goings-on. Specifically:
Different kinds of OS inter...
I am working on a video processing library in C# and would like to display videos on Windows XP up. For this purpose, I currently use a custom double-buffered UserControl with overridden OnPaint that uses Graphics.DrawImageUnscaled. This works okay, but is not ideal.
Therefore I would like to implement a video display using hardware ove...
On a Win2k server, using a WAPP stack (Windows,Apache,PostgreSQL,PHP). Running a PHP web application. Also tested using PHP interactive console.
The datetime is reported correctly, but for some strange reason the timezone is reported incorrectly:
php -a
<?php
echo date('c');
2009-04-19T16:52:35-04:00
C:\WAPP\php>time /t
17:06
C:\...
I have secured the budget to upgrade the individual workstations and latops. While newer, bigger screens were welcomed with enthusiasm, the thought of re-installation tools and settings caused most of them to blanch and I got one "Do I really have to?".
How much downtime do you usually have when you move to a new machine?
Do you employ...
So I'm currently working on a project that needs to time when certain processes are running. I'm trying to figure out the most efficient way to scan the process list, then check the process list executable names against the list of supported programs.
Essentially the problem is two parts:
1) Most efficient way to get the process execut...
I'm looking to make my CGI forum software FastCGI compatible.
The forum software consists of a few dlls and .exe (.cgi) files written in C and x86 assembly language. I also have a SQlite3 database.
Lighttpd runs all these cgi scripts as child processes and I much say that the whole thing works pretty damn well.
But I want to experiment...
I am porting a communications library from Linux to Windows. I know what my approach is for the most part. The library uses all raw ethernet level frames for all the communications.
The library I am porting from makes use of the PF_PACKET family and the struct sockaddr_ll. After browsing through the MSDN winsock site, I haven't fou...