Questions involving programming on Microsoft Windows technology, including its API.

learn more… | top users | synonyms (1)

4
votes
5answers
2k views

Why did visual programming never take off and what future paradigms might change that? [closed]

As the number of "visual" OS's such as Android, iOS and the promised Windows 8 are becoming more popular, it does not seem to me that we programmers have new ways to code using these new technologies, ...
4
votes
4answers
759 views

Is it the standard accepted practice to install software using VBScript? [closed]

Consider the following requirements Windows software which communicates with a web application using basic authentication The software is an MSI package The software requires a token to be placed in ...
4
votes
4answers
316 views

How can a Mac or Unix owner fix/develop webpages for IE6/IE7?

I work on Debian and before Debian I was on Ubuntu. In my previous job, we simply ignored IE6, but at my present job a page must work flawlessly for IE6 onwards. The one wayout for me is to set up a ...
4
votes
2answers
5k views

Developing Python on Windows and deploying to Linux

I have a client who would prefer to host their application on Linux. However, my coworkers and I have very little experience with Linux. This is a short project with a low budget, so making choices ...
4
votes
5answers
688 views

iPhone vs Windows Phone development

I am a computer science student working on some mobile games. However, I am completely torn and keep going back and forth deciding whether to learn Windows Phone or iPhone development. I love ...
4
votes
2answers
3k views

Why most use Cygwin and not Uwin?

Most academic researchers I know target just *nix, and rely on Cygwin to make their applications available on Windows. I have tried many of these projects and always found them too unstable for ...
4
votes
2answers
689 views

Multi-threaded application design

I'm currently planning a Windows service. It will be a multi-threaded application which will continuously check for database records and process them. My first thoughts were to set a number of max ...
4
votes
5answers
2k views

If I were to start doing a GUI how do I decide on what platform to use? [closed]

I hear about WPF, Silverlight but then there is also windows RT, metro stuff, windows 8 and so on at the moment - I'm having a hard time nailing what to bet on. How do I, at a given point in time, ...
4
votes
3answers
1k views

Where do other programming languages fit in Windows 8 development model?

Today, Windows applications can be developed in numerous languages and frameworks. But in the upcoming Windows 8, with the introduction of WinRT, the development model is going change at a large ...
4
votes
8answers
548 views

Doing 'more' with C on Windows than very simple programs?

I'm currently learning C via 'C Primer Plus' as recommended by a lot of people here and I'm finding it very interesting - the in-depth explanations of how and why we do certain things in C are great ...
4
votes
1answer
1k views

Can Powershell do anything that Iron Ruby can't?

I am torn between learning myself some Powershell or just leveraging my existing Ruby knowledge for the various Windows scripting things that I do from time to time. Powershell does look incredibly ...
4
votes
1answer
311 views

What should developers know about Windows executable binary file compression?

I'd never heard of this before, so shame on me, but programs like UPX can compress my files by 80% which is totally sweet, but I have no idea what the the disadvantages are in doing this. Or even ...
4
votes
3answers
1k views

What are my options for using a C++11 library in a C# WPF application? [closed]

I am writing a cross-platform (OS X and Windows) desktop application in C++11. I intend to use the same C++11 core on both platforms, utilizing native frameworks for the UI (Cocoa and Objective-C on ...
4
votes
3answers
672 views

How to securely implement Roles in a Windows Form application?

As an ISV, what is considered best practice for implementing Application Role based security? In other words, only allow users to access certain features in the application based on what Roles they ...
4
votes
1answer
784 views

Where to find resources to write a program like sandboxie?

Sandboxie is a program that will let you read from the hard drive, but when you try to write back it will redirect the file to a separate container. I would like to learn how to do something similar. ...
4
votes
2answers
1k views

Which tools to use for Embedded Linux C++ development with a fast compiler and possibly cross platform [closed]

I'm not happy with our build environment for our Linux based (Ubuntu 10.04) equipment. It is embedded software we are developing. What I would like is to have the optimal mix of these wishes: Use ...
3
votes
6answers
1k views

Are RAD tools worth the trouble?

I have used RAD tools for windows and web development for many years (primarily Infragistics). I invariably find myself in some situation where I have a very difficult time figuring out what is going ...
3
votes
6answers
6k views

Best solution to run a Linux sandbox on my Windows machine? [closed]

I'd like to develop some node.js on my windows machine by using a virtual linux server that runs as a program and that I would access through ssh. I'd like this virtual linux instance to access the ...
3
votes
3answers
326 views

Where should libraries be placed, in windows?

I have just moved from Linux to Windows, and I have to use the Zend Framework library. Where should the library be placed? Directly on C drive Create a lib folder like C:/lib/ Create a lib folder ...
3
votes
4answers
656 views

Is Linux a neccessity for learning network?

I'm a web developer interested in learning network. I work on Windows platform. Many of my friends and colleagures believe that to learn netwrok, I should become familiar with Linux platform. Should ...
3
votes
4answers
213 views

Make shareware program free in some countries

Idea. To make my shareware program free in less-developed countries. Or release a free edition for these countries. Purpose. More users, bug reports, extensions, active forum, etc. Anyway, 90% sales ...
3
votes
5answers
286 views

Converting our Windows Software to the web [closed]

We're looking at converting a software package from Windows over to the browser. It's a back office system consisting of Ledgers, Stock Control, Order Processing, etc and it's written in a legacy ...
3
votes
2answers
681 views

Where Should I Put Configuration Files?

I'm creating a project that I want to be able to distribute across platforms. I'm writing in Java and AWT which already gives me a pretty large range of devices, but I'm mostly interested in Windows ...
3
votes
3answers
503 views

Was API hooking done as needed for Stuxnet to work? I don't think so

Caveat: I am a political science student and I have tried my level best to understand the technicalities; if I still sound naive please overlook that. In the Symantec report on Stuxnet, the authors ...
3
votes
1answer
338 views

Can I write a cross-platform application (Mac and Windows) using C#?

I see lots of old information on this question, and lots of articles flying around the Interwebs, but I can't tell quite where things are at. Basically, I want to write C# code that I can then ...
3
votes
3answers
291 views

Why is WCF is called Windows

I'm wondering why it isn't called Microsoft Communication Foundation. Does it rely on Windows and will it rely on Windows in the foreseeable future?
3
votes
3answers
133 views

Most efficient way for snapshotting Windows (no VM) [closed]

As the software I'm writing is using instrument I/O, I cannot use virtual machines to test my software in different configurations. Therefore I'm looking for the best way to make snapshots at ...
3
votes
3answers
265 views

Why is Win32 API's WM_MOVE being called while dragging the window?

I have two callbacks for WM_MOVE and WM_MOVING. Oddly enough, WM_MOVE is being called while dragging the window. I expected WM_MOVE to be called only when I'm done dragging the window. MSDN says that ...
3
votes
2answers
253 views

Grateful for opinions on Language and Framework for my Windows Application

I have read some related questions on this site, including: What language should I seek to learn if I would like to develop for Windows and How to start programming in Windows but feel that my ...
3
votes
1answer
150 views

How to fix legacy code that uses <string.h> unsafely?

We've got a bunch of legacy code, written in straight C (some of which is K&R!), which for many, many years has been compiled using Visual C 6.0 (circa 1998) on an XP machine. We realize this is ...
3
votes
2answers
306 views

What format is the data going to Windows print drivers?

I have been tasked with writing a print driver. I have no experience with this and have been researching it for a few days. The goal of this is to essentially write the data coming to the driver to ...
3
votes
1answer
2k views

Windows Console App vs Service

My Situation I work for a company that builds software for many other companies. When I learned installers weren't built-in with VS2012, I was curious how to deploy. So far, I have just been dropping ...
3
votes
4answers
1k views

Ubuntu, OpenSuse, the world of linux for a web-developer

I'm learning web development. My main OS is windows 7 but I've used Linux and currently dual-booting with Ubuntu. My Linux knowledge however, is pretty limited. I can work with the command line on ...
3
votes
1answer
615 views

Why is (Ogg) Vorbis not automatically supported by Windows?

Vorbis was never threatened by MPEG LA, so it is undoubtedly completely patent free. (MPEG LA never misses a chance to spread patent FUD) Windows supports mp3, so it isn’t because they want to push ...
3
votes
1answer
72 views

Decrypt data on any Windows computer by same user

I have a license system which currently locks licenses to a physical computer using CryptProtectData (with CRYPTPROTECT_LOCAL_MACHINE) and CryptUnprotectData. This is of course not the entire license ...
3
votes
2answers
461 views

Modern.IE VM license

Microsoft provides some VMs for testing purposes (advertised on StackOverflow) and I'm trying to understand the license terms. The one I don't really understand is 1.b. You may use the ...
3
votes
2answers
3k views

How Stack and Heap is allocated for threads under the same process in Windows?

Stack for different thread is different.but what about Heap. If Heap is different for different threads, then how they share objects?
3
votes
2answers
511 views

What is a good design strategy for retaining history of user activities and files like Visual Studio projects?

OK so I'm not so sure that "project" is the right term, but for my purposes, I define "project" as similar to what Visual Studio uses, or Microsoft word - files that the user can open and work on and ...
3
votes
1answer
2k views

Is a Metro application installation restricted through Windows Store only?

I found that Windows 8 allows packaging and deploying of Metro applications and it can be installed by clicking on a ".bat" file. How will it technically be ensured that the applications can be ...
3
votes
2answers
2k views

Reason to use mingw win32 headers and libs with LLVM/Clang

Is there any good reason (except "GCC is better") to use the MinGW win32api/headers/libs with LLVM/Clang. Suppose that in two to three years, Clang has matured enough (in C++0x and performance) that ...
3
votes
1answer
829 views

What's are best Windows 7 gadgets for programmers?

I am looking for a theme with gadgets that will make my life easier as a programmer. Googling from the desktop is one feature I am looking for. Integration with SharePoint or other bug trackers are ...
3
votes
1answer
248 views

SBCL development on Windows, including CFFI

I have been asked to automate the operation of a Windows (WinForms) application, performing some fairly complicated statistical analysis along the way. My first thought was the usual suspects: .NET, ...
3
votes
2answers
158 views

How to keep .Net assemblies relevant through high-flux period

How much do you, as .Net developers, consider the changes between Windows XP, 7, & 8 when choosing your development environment and libraries? We are nearing the end of Windows XP; Windows 7 is ...
3
votes
1answer
89 views

Are Secure Desktop and separate process enough for hiding sensitive information in RAM?

In my program, I have an encrypted database on the file system with a password. It is decrypted in RAM, and the sensitive data get spread out too much in RAM for mistake to be auditable easily enough. ...
3
votes
1answer
120 views

Why do some program after installation need the system to be restarted? [closed]

I was asked this question in an interview. After installation of programs on windows OS,some program need the system to be restarted while others not. What is the reason behind this? I googled but ...
3
votes
1answer
1k views

C++ on Windows vs Linux - common issues? [closed]

So far all my development in C++ has been targeted to Windows, however I have always had it in the back of my mind that I will someday be targeting Linux. I am aware therefore of the need to select ...
3
votes
1answer
338 views

Cover Flow license issues?

I want to implement the Cover Flow effect in my commercial application on Windows. Are there any license issues about it? Because I think it has been patented by Apple.
3
votes
4answers
541 views

Public-private key pair handling on a Windows ecosystem

I've been thinking about how to architect an infrastructure for one of our business applications with the following requirement: Data written by some user can only be read by that user and his ...
2
votes
7answers
694 views

How to prevent piracy on software which is sold online? [closed]

When selling software online what's the most suitable/secure way to provide activation in order to get rid of pirates copies of the software? Is there any well-known software for this purpose?
2
votes
3answers
1k views

Origin of wParam and lParam

Given a standard windows procedure function: LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); Where do the names wParam and lParam come from and what the history ...