windows

Is it possible to execute Objective-C programs in Windows?

I googled a lot. Some people are saying do this. Some are saying it's not possible. Install Mac OS X on a virtual machine, etc., etc. I have a simple question. Is it possible that I can practice Objective-C programming on a Windows 7 machine? If yes, how? Please, if possible, provide me with a necessary link. My ultimate goal is to go ...

Running genhtml using cygwin Perl.exe in Windows

Hi all: I'm trying to run genhtml using perl.exe from Cygwin in Windows. I have installed cygwin and placed genhtml in the bin directory of cygwin. I went to that directory and used the command line in Windows: perl genhtml abc.dat where abc.dat is the name of the lcov file for genhtml. However I got an error saying: Reading data...

Change Windows browser proxy settings via ruby script

I'm looking for some code/library to programmatically change proxy settings for popular browsers using Ruby on Windows. Thanks. ...

Py2exe: Are manifest files and w9xpopen.exe required when compiling a web server without GUI interface?

I'm using Py2exe to compile a CherryPy (3.1) server using Python 2.6 (32-bit) on Windows 7 Pro (64-bit). This server will run without a GUI. Questions: Do I need to be concerned about adding a manifest file for this application if it runs without a GUI? Do I need to include w9xpopen.exe with my exe? So far, my limited testing has i...

Install libxml2 and associated python bindings - Windows

Hello, I am attempting to install libxml2 so that I can setup the python bindings and eventually use lxml. However I am unable to work out here on earth I am supposed to be unzipping the files. I haven't been able to google successfully. Do I need Cygwin/MinGW for the installation to be successful? At the moment I have the files from...

What is the preferred method of passing data between a service and an application

Possible Duplicate: Delphi 2009: How to communicate between Windows service & desktop application under Vista? I have a server running as a Windows service. To control the service and to display it's state I have an application running as a tray icon. I would like to pass data (log strings) from the service to the application. ...

Custom windows error reporting on Windows XP

Is there a way to customize the data used in windows error reporting on Windows XP SP3? I have a managed application (CLR2.0) and I'd like to create a custom minidump (containing some additional user information) in case of a unhandled exception. This minidump shall then be sent as part of the WER. Thanks, Thomas ...

create a wizard installation package

Hi, i have the following problem: 1- I have a set of executables that must be installed sequentially 2- I have a vbs that add keys in particular path of registry of windows 3- The vbs must be dynamic and configurable I need to create one only packet that installs the set of executables and run the vbs. Furthermore tha packet must be d...

Windows: add security restrictions to current process?

I'm writing a web service (mostly in .NET, but there's some unmanaged code, too). I'm trying to avoid adding any vulnerabilities (obviously...), but it's alwyas possible (esp. since there's some unmanaged code, both by own & libraries, to which data from files/network is passed). UAC + DEP helps, but you never know. So I was wondering if...

Finding WndProc Address

How can I find the address of a WndProc (of a window of another process). Even if I inject a DLL and try to find it with either GetClassInfoEx() or GetWindowLong() or GetWindowLongPtr() I always get values like 0xffff08ed, which is definitely not an executable address. It is according to MSDN: "... the address of the window procedure, or...

CVS patch with added files under Windows

I have a CVS tree with some modified files and some new/added. I use: cvs -q -x diff -u To generate a patch that lists all the changes. However, it lacks the newly added files. Im doing some googling to find the correct parameter flag but I dont have much luck. Anyone with wisdom to share? (This is on Windows but I assume it doesnt ...

ntdll!kifastsystemcallret

My program is crashing at the end of execution, and couldnt even see stack unwind info. all i can see is this " ntdll!kifastsystemcallret", can some throw some light? ...

C++ interface version of HttpWebRequest and HttpWebResponse.

Hi All, We are wondering how to use HttpWebRequest and HttpWebResponse .net framework Class in ATL c++ project is their any interface exposed for webrequest class in C++, currently we cannot have a c# project so we are looking for alternative interface. Any help will be greatly appreciated. Ramanand. ...

server side development and job requirements

Recently, I have been reading job listings. I have found that there are many who are looking for "strong candidates with server side development". I am primarily a C++ developer for the Window platform. What do the listings mean? Software using the client-server architecture? And if so, are there common complete frameworks for develop...

Any patterns for high availability of a Windows Service?

Situation I have a windows service which I would like to make highly available. I have two unclustered servers (Windows server 2003 standard edition). The question is: What options do I have to make my service highly available in an automated way? I can think of the asymmetric master-slave option which consists of keeping the servic...

Changing combobox value of minimized third party application via hotkey

Hi, I have a piece of closed-source third party windows software which consists of only one window and is minimized almost all the time. I'd like to be able to change the selected item of a combobox in that window via a system-wide hotkey. If possible, I'd like to keep the third party app minimized in the process. I guess this should b...

socket pairs, perl, KEEPALIVE, and polling

I've starting using socketpairs on linux and windows in order to capture the output of subprocesses on both platforms. I do this by copying STD* onto one of the sockets in the socketpair (I'm using Win32::SocketPair in perl for socketpair's on windows). The main reason I am doing this is so that read do NOT block on the output file han...

C++ - Hold the console window open?

Hi, my question is super simple, but I'm transitioning from c# to c++, and I was wondering what command holds the console window open in C++? I know in C#, the most basic way is: Console.ReadLine(); Or if you want to let the user press any key, its: Console.ReadKey(true); How do you do this in c++? The only reason I ask this simpl...

timeval undefined when using windows.h and WIN32_LEAN_AND_MEAN

To avoid conflicts with winsock2.h, I want to wrap my include of windows.h with WIN32_LEAN_AND_MEAN (I undef it after windows.h so as not to interfere with applications that include my headers). Doing this causes timeval to be undefined when winsock2.h isn't included. Including time.h doesn't define timeval either. How can I get timeval...

My schtasks don't schedule anything. :(

I'm trying to make a scheduled task, and its just not working for me. This is the command I type in CMD: schtasks /create /sc minute /mo 1 /tn test /tr calc.exe /st 19:17:00 /sd 12/14/2009 I'm trying to tell the computer to run calculator every minute starting at 7:09 PM. Although I get a success message after I type this in and hit en...