windows

What are the best free Scheme implementations that you know about on Windows?

When I wrote best I meant: Speed, Have an IDE, a debugger, Compiling to machine code or some other language, Quality of implementation and, Completeness. ...

Making a soft copy(file) of everything printed to any printer from a Windows workstation?

I have been looking into the possibility of creating a soft copy(image/EMF file) of everything printed from Windows - for archival purposes. Does anyone know if it is possible to create a hooking DLL that can grab the printed data in such a general way? ...

Windows/C++: detect when focus has changed between windows (globally)

I'm trying to find a way to detect when focus is changed to another window (without having to poll every X ms). I've already figured out a way to detect when focus is switched between applications using WH_SHELL and HSHELL_ACTIVATESHELLWINDOW. The problem is I want to detect when focus is switched between dialog/windows within the same...

What is the maximum length of a Window's command-line (cmd.exe) command?

There are many people asking questions on SO about how to get around the cmd.exe command maximum length. I was wondering what actually is the Windows command-line length limit? Is it different between version of Windows? Does using a 32-bit vs. a 64-bit version affect this limitation? ...

Why does my Application not run using the x64 Version of Windows Server 2008?

I have a Win32 C++ Application using a handful of third-Party DLLs that is installed at some hundred costumer machines. I recently tested the x86 Version of the installation successfully on Windows XP, Windows Vista x64, Windows 7 x86 as well as Windows Server 2008 x86. No Problems. The Installer (nullsoft) installs the redistributable f...

Blanking out menu options on an external application

Is it possible to make menu options in an existing Windows application inaccessible? In particular, I'm talking about the Calculator application that ships with Windows. Is it possible to make it so that the Help menu does not appear (or is at least inactive)? I am looking for an ongoing programmatic solution. Our application will be...

LogonUser -> CreateProcessAsUser from a system service

I've read all the posts on Stack Overflow about CreateProcessAsUser and there are very few resolved questions, so I'm not holding my breath on this one. But it seems like I'm definitely missing something, so it might be easy. The target OS is Windows XP. I have a service running as "Local System" from which I want to create a process ru...

Working on a cross platform library...

What are the best practices on writing a cross platform library in C++? My development environment is Eclipse CDT on Linux, but my library should have the possibility to compile natively on Windows either (from Visual C++ for example). Thanks. ...

Create Hidden Windows file/folder from Linux

Is it possible to create a file on a mounted SMB share that is hidden from Windows? The .(dot) prefix doesn't work in this case because that only works on Linux. Basically I'm looking for the same affect as using attrib +h on Windows, but under Linux. ...

Making pygtksourceview work in windows

So, I'm trying to get gtksourceview python bindings work under windows (I'm developing a cross platform gtk application that shows code, so gtksourceview seemed like a natural choice). I have pygtk installed and working (I followed the instructions in http://www.pygtk.org/downloads.html) I tried the instructions in http://projects.gnom...

WNetAddConnection2 from a Windows Service

I'm trying to connect to a remote password protected shared folder from a Windows service, which runs as LocalSystem account. It seems that the LocalSystem account is unable to directly access password-protected network shares using WNetAddConnection2() or similar calls. Can anyone confirm this? I've read that impersonating an administra...

What is the best scalable architecture to build services for Windows Phone 7 apps to connect to?

I want to build my first Windows Phone 7 application and I'm going to need a service backend. Should I be using something like NServiceBus? WCF? Any suggestions would be helpful. I'm guessing the Cloud (Azure) would be the best place to host this service? ...

Removing minimize/maximize buttons in Tkinter

I have a python program which opens a new windows to display some 'about' information. This window has its own close button, and I have made it non-resizeable. However, the buttons to maximize and minimize it are still there, and I want them gone. I am using Tkinter, wrapping all the info to display in the Tk class. The code so far is...

Python - Launch a Long Running Process from a Web App

I have a python web application that needs to launch a long running process. The catch is I don't want it to wait around for the process to finish. Just launch and finish. I'm running on windows XP, and the web app is running under IIS (if that matters). So far I tried popen but that didn't seem to work. It waited until the child pr...

Compile unmanaged executable for BOTH x86 and x64

Is there any way to compile an EXE file, so that it will run natively in both x86 and x64? Something like: compile both codebases and pack them into a single executable. I know .NET code could run in "any cpu" mode, but it is not what I want. ...

How do I get python to load .NET .dlls referenced by mixed mode .dlls?

I have a python .pyd that is a mixed mode C++ DLL. The DLL loads fine and loads unmanaged C++ dlls without a problem, but when it tries to load the .NET dlls referenced by the managed C++ dlls it fails with this error message: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly '...' Copying these .N...

Creating an R package for windows.

Hi guys, I would like to create an R package which would include classes, methods and functions. The thing is, I managed to create it on Linux (and it is working on Linux), but I can't make the same package work on Windows (which is my main OS). What I tried to do (maybe it was a bit foolish) was to convert the tar.gz into a Zip file ...

Programatically disabling Taskmanager using c#

I am working on a Kiosk application, i need to disable the taskmanager. So that when the user press [ctrl + alt + Del] and [ctrl + shift + escape], the taskmanager should not pop up. How ? ...

How do I write a std::codecvt facet?

How do I write a std::codecvt facet? I'd like to write ones that go from UTF-16 to UTF-8, which go from UTF-16 to the systems current code page (windows, so CP_ACP), and to the system's OEM codepage (windows, so CP_OEM). Cross-platform is preferred, but MSVC on Windows is fine too. Are there any kinds of tutorials or anything of that na...

gnome on windows

Salaam, I couldn't find a similar post, maybe some servers don't like this keyword combinations :) I would like to have gnome/linux running on a windows desktop, I know that it is possible through: 1- Virtual machine, with linux/gnome installed 2- Cygwin, with gnome configured 3- other ports As for 1, it is discarded because of memor...