My python project has a C++ component which is compiled and distributed as a .pyd file inside a Python egg. I've noticed that it seems to be incompatible with only some of our our brand new 64 bit Windows servers. We have 4 (allegedly) identically provisioned machines - each of them runs Windows 2003 server 64 bit edition, but 2 of these...
Exact Duplicate
Initialize Critical Section only once for a process
I have a dll that creates a global critical section, initializes and use it.
Now a third party application is using / loading the dll more than once which leads to a heap corruption.
The appverifier warns me with a
-->
VERIFIER STOP 00000211: pid 0x1470: Critic...
I have a batch file which invokes my IDE, so I just want to know if we could extract the contents present in my IDE(whole contents) to some text files.
My batch file is written below
D:\WindRiver\wrenv.exe -p vxworks653-2.2.3 run
PAUSE
Is there any more code needed to be added to my existing batch file??
...
This may be a dumb question...but I was just looking into the Mono project and they have a section about installing Mono on Windows. But, since Windows obviously already has the .NET runtime can anyone tell me what exactly is the point of having Mono for Windows? Does it help with cross platform development or something?
...
Regarding my earlier question about the Point of Mono on Windows, let's say that I develop an app against the windows mono runtime so that it will also run on Linux, OSX, etc.. and to make it more complicated, I use GTK# so that I don't have to deal with WinForms. Is there then an easy way to bundle the Windows Mono runtimes with my Win...
Our application uses libcurl for HTTP, and we want to get access to Internet Explorer's proxy settings. An earlier Stack Overflow question recommends that we use WinHttpGetIEProxyConfigForCurrentUser and WinHttpGetProxyForUrl.
Unfortunately, the winhttp.h header does not appear to be included with our copies either Visual C++ 2005 or Vi...
I would like to setup a http proxy on my work machine (no admin rights, WinXP) to only allow access to a whitelist of URLs. What would be the easiest solution? I prefer open-source software if possible.
...
I have a file I need to write to a temp location, what is the best place in Windows? This file needs to not move as I need to read it a couple of times and dispose it when I close the program.
Thanks
...
I've been asked to provide Numpy & Scipy as python egg files. Unfortunately Numpy and Scipy do not make official releases of their product in .egg form for a Win32 platform - that means if I want eggs then I have to compile them myself.
At the moment my employer provides Visual Studio.Net 2003, which will compile no version of Numpy lat...
Hello, first time poster here.
I'm writing a multi-threaded streaming audio application in C++ (MSVC) on Windows XP SP2.
The problem I've encountered is that, upon minimizing / restoring any application on the task bar, all threads in my application are suspended while the window animation is active. This affects me because it causes t...
I found this answer, but it is far from a simple code snippet that I can use in an existing application.
http://stackoverflow.com/questions/261089/controlling-cpu-utilization
There has to be a better way to do this with .NET 3.5 by now. Is there a way to poll the total CPU load for all threads?
...
What would be the negative effects of installing a legacy 32bit app into the C:\Program Files instead of the C:\Program Files(x86) ?
...
I have an authentication key (USB dongle) that I would like to use in place of logging into windows. The dongle is not just a simple thumb-drive it is a specialized dongle made for software authentication.
I've seen tutorials on how to do this with Phidgets RFID kit, however I can't seem to find that tutorial anywhere now.
Basically I...
I work on a thick-client app that often runs into "issues" accessing network shares. Before doing any IO with the server, my app tests whether the share (usually of the form \\server\share$) exists. This works fine for detecting those scenarios in which the client has lost its connection to the server, but there are still those odd scena...
Does WPF use the installed color profile in windows for correcting the colors that are rendered?
I'm pretty sure old forms/gdi-based applications are not "automatically" color corrected, but I wonder if WPF does (or can be made to do) this automatically?
(I know I can do this manually in my own WPF apps by creating a gpu shader to do th...
I have four small single-form utility applications that I have written in Delphi (Win32), that every once in awhile I want to use in a way that makes them "feel" as if they are all one application, mostly to make switching back and forth between them super-easy. It would be great, for instance, to be able to insert them as containers ...
I just recently started having a very severe problem when using
WebRequest.Create(string url)
I am on a shared server, and recently the server company announced that it had to change the trust level in IIS from Full to Medium on all Windows web servers due to some windows security issue.
As a result when I try to execute WebRequest.C...
How can you program a dotNet Windows (or WPF) Application in order to let it going fullscreen on the secondary monitor?
...
I'm running a VirtualPC 2007 VM with Windows2003 as the OS. Inside of this I am using a web based VPN to connect to my client's network. I cannot use this VPN from my host machine because it does not work with Vista (still!). Inside the VM I'm connecting to a Terminal Server at the client site which I'm logging into using their domain...
What is active_record doing to the signal processes under windows (I don't see this with the same versions on the mac) that causes it to behave so strangely? For instance:
require 'rubygems'
trap("INT"){puts "interrupted"}
puts __LINE__
sleep 5
require 'active_record'
trap("INT"){puts "interrupted again"}
puts __LINE__
sleep 5
When I...