I have an application written in Python that's writing large amounts of data to the %TEMP% folder. Oddly, every once and awhile, it dies, returning IOError: [Errno 28] No space left on device. The drive has plenty of free space, %TEMP% is not its own partition, I'm an administrator, and the system has no quotas.
Does Windows artificia...
Hi,
I'm having trouble with memory fragmentation in my program and not being able to allocate very large memory blocks after a while. I've read the related posts on this forum - mainly this one. And I still have some questions.
I've been using a memory space profiler to get a picture of the memory. I wrote a 1 line program that conta...
Basically I want a windows Service that at a particular time, Logon on a windows (XP/Vista/7/2008) Machine? If this is Possible, Please show me the way?
...
How does Windows switch to supervisor mode during a system call? I heard something about a "trap 0", but that doesn't even seem like an x86 instruction. I stepped through some system calls, but I can't find any. Do a lot of Windows system calls run in user mode? Which DO run in supervisor mode?
...
This question is very similar to this one. I want to read output from a console app of mine. The app does not terminate, nor does it take input from stdin.
When I modify rix0rrr's solution to execute my app and then run his solution, Python hangs because read(1) does not return. The initial output of the app is "Starting the server.\n"....
I am trying to create a server which uses select() to handle multiple clients, as opposed to multi-threading which I have already accomplished. However select() just doesn't seem to do anything? I have all the necessary system calls e.g. socket() returning to an int called listener. bind() then listen(), all with suitable error checking,...
I've built a setup.exe in c# that runs several chained MSI's (with the /QUIET /NORESTART ). At the end I'd like to check if a reboot is needed in the machine (that is, if one of the MSI's requested a reboot).
How can I detect so?
...
Hello ,
I am doing calendar application on customised windows ce device....I am trying to add appointments using pimstore....
steps I followed:
hresult hr = clsidfromprogid(progid,&clsid);
hr = CoCreateInstance(CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER, IID_IUnknown, (void **)&g_pUnknown);
IAppointment * pAp...
I need to rename a lot of directories and their sub directories.
I have a csv file which contains the old directory names and the required new name.
1,blah,old_name1,new_name2,wibble
2,foo,old_name2,new_name2,bar
3,john,old_name3,new_name3,paul
4,george,old_name4,new_name4,ringo
Note that some of the directory names are
old_name1-m...
Windows Taskbar has a significant behavior. It is attached to a bottom (top, left, ...) of your desktop so that it occupies this area and prevents other windows from overlapping it.
When some window is not maximized it goes below the Taskbar as if Taskbar is topmost.
(*)When some window is maximized it fills the area that is not occupie...
I have written a small custom web server application in C running on Linux. When the application receives a request it calls fork() and handles the request in a separate process, which is chrooted into a specific directory containing the files I want to make available.
I want to port the application to Windows, but neither fork() nor ch...
Many scientists have published papers documenting how devices connected via WLAN can be tracked by measuring its Signal Strength, Time Of Arrival, Round Trip Time, etc. Any idea how I can access these values in Windows using any .NET API?
Or do you know of software SDKs already available for location tracking?
...
I need to choose a windows automation program. Which one do you recommend? AutoIt, AutoHotkey, others?
I have read http://paperlined.org/apps/autohotkey/autoit_and_autohotkey.html , interesting history but without a clear recommendation. Searching on google leaves a winner (around 312k hits for AutoHotkey Windows vs 482k hits for AutoIt...
I've implemented my own Microsoft Search IFilter. I need two versions of it - 32-bit and 64-bit for deploying them on corresponding systems.
In case of IFilters for any file extension I can only register one IFilter class id. Which means I can only use one version on any system. So having two class ids seems useless - it only makes the ...
I need to find out whether my apps are being flagged as viruses by the most popular anti-virus packages (not best, but biggest by user base). I therefore would like to know how others go about this. Some background:
I have an application written in Delphi. Ever since the Delphi virus was found, I've had problems with false positives on ...
I have several applications that seem to turn off the screensaver and the powersave mode of the video card (eg Skype, VLC, mplayer, etc). Sometimes, these applications crash and the monitor is just on all the time until I reboot. Is there a simple API call to turn on the screensaver and powersave mode again?
...
If I have a windows console program written with c++, is it possible to retrieve that program's standard output, while the program is running? And if not, what would be the best way to rewrite the program? I know I could output to files and continuously check those files for updates. Is there another way? Is there a better way?
...
i type "python setup.py install" in a windows XP console, it reported as follows:
running install
running build
running build_py
running build_ext
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: None
when i try to run a script which import Crypto.Cipher...
Hello
UltraEdit saves temporary, ie. unsaved/untitled, files as (regex) "Edit.\d+".
When UltraEdit is killed (I do this when some software nags me to reboot), I noticed that it doesn't always save files in the same directory, so I end up with a bunch of "Edit.\d+" files scattered in my two hard-disks, with a lot of identical contents.
...
We are rewriting our app to make it Windows Vista/7 compliant. In order to do that, I need to delete all the previous data in the application directory under %PROGRAMFILES%. This definitely will not work in user mode, and also doesn't appear to work programmatically in admin mode. I am trying to use the following line of code:
File.D...