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

learn more… | top users | synonyms (1)

3
votes
4answers
524 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
643 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
451 views

What language should I seek to learn if I would like to develop for Windows?

What language should I seek to learn if I would like to develop for Windows? Not command-line stuff (obviously, I guess) but with Windows Forms and such? I've used C before (when working with ...
2
votes
3answers
999 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 ...
2
votes
2answers
3k views

Why was support for Windows XP dropped in PHP 5.5? [closed]

In the release notes for PHP 5.5.0 it's announced that Windows XP and Windows 2003 are not supported anymore: Drop Windows XP and 2003 support. (Pierre) Why is this? Many people in different ...
2
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 ...
2
votes
3answers
213 views

Is there an established convention for separating Windows file names in a string?

I have a function which needs to output a string containing a list of file paths. I can choose the separation character but I cannot change the data type (e.g. I cannot return a List<string> or ...
2
votes
3answers
5k views

Easiest language for simple Windows applications for novice Windows programmer? [closed]

Expertise: 11 years PHP programming I'd like to get into simple Windows programming for a kiosk project. What language should I choose? My criteria: easy to learn, "higher"-level language (e.g. ...
2
votes
6answers
328 views

Cloud availability of short-term “virgin” Windows instances?

I have a situation where we on a regular basis need a freshly installed "virgin" Windows installation to do various work in isolation on, and building one from scratch every time in a vmware instance ...
2
votes
6answers
189 views

Upgrading from XP Pro to Win 7, anything I should worry about?

I do mainly .NET work so I assume that the framework is all fine and that. But have there been reports of various tools like .NET Reflector and the like not working properly with Win 7? This is a ...
2
votes
5answers
3k views

Program Loaders in Linux and Windows

I was wondering what the loaders in Linux and Windows are called, i.e., their command names? Loaders' definitions are In computing, a loader is the part of an operating system that is ...
2
votes
6answers
242 views

BizSpark and SQL Server already present. Can and should we move to OSS?

I am starting a new role running engineering in a young startup. The stuff they have is in SQL Server / Windows. I get the feeling we should think about moving to an OSS architecture, main reasons ...
2
votes
3answers
88 views

Smart fallback for line endings in code files? [closed]

What do you recommend as a default fallback for line endings if the operating system cannot be determined? Example Mac OS up to version 9 uses carriage returns (\r) for line endings. Unix-like ...
2
votes
2answers
1k views

Technology for C#, Windows, 2D game development? [closed]

I need a nudge in the right direction from someone more experienced in windows game development. I want to write simple C# 2D windows game for fun (think something like old Sim City or Civilization). ...
2
votes
2answers
510 views

Using a DSN database connection is a bad practice?

During all my professional lifetime that I have been programming in Windows enviroments, I advised my friends and coworkers to not use a DSN database connection in their applications, based on my own ...
2
votes
1answer
318 views

How to detect if an app was already installed before

How do software applications keep track of whether the user already installed the application before in it's Windows system? Say you install app X, trial version, remove it, then re install it, and ...
2
votes
2answers
1k views

How Would I Start With Prolog? [closed]

If I wanted to start learning Prolog on Windows, is there any package that would integrate Prolog into Visual Studio 2010? That is, a compiler and templates and so forth for working with Prolog on ...
2
votes
4answers
292 views

When programming for a new platform, do you change the keyboard mapping to what you're familiar with?

I've been a Windows programmer for a decade or more now, and I'm currently doing my first ever Macintosh project. One of the things that is driving me bonkers is how the keyboard maps differently. ...
2
votes
1answer
137 views

Most efficient/cleanest way to Kill a recursive thread safely

I have a number of worker threads which all perform a flood-fill task on different regions of a bitmap. They all make calls to a recursive sub-routine with different parameters(coordinates). Fyi, I am ...
2
votes
2answers
541 views

How to store data for Windows Store apps?

I have a application which requires me to save data to a database not located on the users computer. Which approach is the best to save and access data for this scenario? Normally I would use Entity ...
2
votes
2answers
656 views

Windows Physical Direct Memory Mapping

I'm a bit disappointed there is almost no discussion of this no matter where I look so I guess I'll have to ask. I'm writing a cross platform memory bench marking application which requires direct ...
2
votes
1answer
481 views

What are my options for selling software independently on Windows?

I am looking to port a tool from the Mac app store over to Windows, the platform where I spend most of my time these days. I've spoken with the author of the original app and we've begun talking about ...
2
votes
2answers
337 views

What is the best way to store files when using winforms and web?

I have to develop an application (in C#) that has to work with files. The application consists of two versions: a web version and a windows version. Therefore, the files must be stored on a place ...
2
votes
1answer
95 views

Drawing a custom rendered control in Windows - resizing

Some background: in order to learn GUI programming and drawing in Windows I'm starting to create my own GUI toolkit in Windows (so this is a didactic exercise, please don't suggest "use Qt" or "use ...
2
votes
1answer
1k views

Is Visual C++ Redistributables backward compatible?

I am including two programs in my software. One of which requires VC10 and the other requires VC11. My question is that if program developed for VC10 will work on VC11 or I have to include both VC10 ...
2
votes
1answer
329 views

Difference between mutex in windows and linux

Is that correct that a mutex object in Linux cannot be used for cross process synchronization as opposed to its Windows counterpart? If that is true - what was the idea to limit mutex synchronisation ...
2
votes
2answers
570 views

How to port cli c++ program with GNU libraries from windows to Linux

I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience. I would like to know if it is hard to migrate c++ console program to Linux. I want to program it ...
2
votes
1answer
536 views

How are new[] and malloc implemented in Windows?

So when you call malloc or new [] from your C/C++ application, how does the CRT translate it into Windows API calls?
2
votes
2answers
2k 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?
2
votes
1answer
459 views

Ruby manager for Windows: Is Ruby's PIK alive or dying?

At first, please forgive probably offtopic and/or notconstructive question, but I truly have no idea where to ask it. At first I targetted StackOverflow there's at least some PIK-related traffic ...
2
votes
1answer
223 views

Is there any Windows installer maker with decent scripting capabilities? [closed]

I need to do complex dependency processing during the installation of our solution, install a few related programs from their own installers and also probably run a few simple tests to determine ...
2
votes
2answers
164 views

Where do I start in regards to making a Gnome/Unity Form Application

Ok so I am familiar with developing Form and Console applications on Windows using Visual Studio .Net with C#, but where do I start when it comes to Linux distro's like Ubuntu, is there an equivalent? ...
2
votes
3answers
1k views

Programmers clipboard monitor under Windows [closed]

In the process of adapting a "put on clipboard"-solution to new behavior I have found that I need a good programmers clipboard monitor for Windows. I do not need to have a history of items on the ...
2
votes
1answer
910 views

Does MS Visual Studio 2010 contain icons for source files?

I'm just wondering because the .js (JavaScript source files) on my computer have an icon from Windows Scripting Host which looks so Windows 95. I tried to look into devenv.exe but there aren't any ...
2
votes
1answer
536 views

Strategies for porting application from Win32 API to GTK+

I have a legacy application written in C, using the raw Win32 API. The general level of abstraction is low and raw dependency on <windows.h> is common. I would like to port this application to ...
2
votes
3answers
111 views

How to deal with Windows .NET configuration files

We use the normal app.config file for the configuration of the application. Although it works for now it has some pretty significant drawbacks: Upgrading an application with a modified app.config is ...
2
votes
1answer
290 views

0.00006103515625 GB of RAM. Is .NET MicroFramework part of Windows CE?

The .NET MicroFramework claims to work on 64K RAM and has list of compatible targets vendors. At the same time, same vendors who ship hardware and create Board Support Packages (vendors like Adeneo) ...
1
vote
4answers
1k views

Computation Program Not Running at 100% CPU Utilization

I have a program which has a GUI and performs some very heavy mathematical computations for a couple of minutes and then outputs a result. When I try to directly interface it through its DLL's, it ...
1
vote
2answers
5k views

How can a website look different in safari Windows and Safari mac?

I have a website. I've been testing crossbrowser on my windows PC, and it looks good in all browsers, but on Mac in Safari it looks like the CSS is not getting interpreted right, or there is a ...
1
vote
3answers
1k views

Windows driver signing [closed]

My company is developing driver for our hardware. Now I need to sign my driver for 32 and 64 bit platforms. Please tell, now I need to buy Authenticode certificate, right? What CA to use? DigiCert? ...
1
vote
3answers
565 views

Best way to process a queue in C# (PDF treatment)

First of all let me expose what I would like to do : I already dispose of a long-time running webapp developed in ASP.NET (C#) 2.0. In this app, users can upload standard PDF files (text+pics). The ...
1
vote
3answers
727 views

How do large-scale applications handle GUI creation?

I'm interested in developing GUI-based Windows applications in C++, but I'm not sure how it's done in professional or large-scale settings. It seems it would take a lot of development time to describe ...
1
vote
2answers
150 views

Need a simple compact program to execute few commands

(On Windows 7 64 bit)... I am looking for a program, something similar to the default Windows Terminal, what I need it to do is: Load text from a given URL, split the code in two variables and then ...
1
vote
2answers
185 views

Where is interface between button click and event raising defined

When I click on button, might be in windows apps, web apps, etc it has some animation to actually see it clicked and event is raised in background. I've knowledge of events and its attaching to button ...
1
vote
1answer
573 views

Windows GUIs: How Long Will 'Deprecated' APIs Last? [closed]

Note I said 'deprecated' and not 'abstracted'. Back in the days of the MFC, the WinAPI wasn't deprecated because, from what I've read, the MFC merely abstracted the WinAPI. There's a difference, for a ...
1
vote
3answers
238 views

How can I configure my programming environment to enable rapid switching between projects?

It often happens that I develop multiple different projects at once, so I need a solution to switch from one environment to another. I have created batch files to do the job but as this thing grows, ...
1
vote
3answers
3k views

Difference between Windows and Linux development environments? [closed]

I have an interview coming up soon for a Business Analyst position and the recruiter mentioned some feedback from a prior candidate that was interviewed who said the interviewers asked him what the ...
1
vote
3answers
345 views

Windows Hibernate API [closed]

Is it possible to programmatically trigger the Windows's Hibernate without actually Hibernating, just to take snapshot of the OS at regular intervals? So that the system can return to the previously ...
1
vote
1answer
106 views

How do newly-created programming languages use Windows API features?

WinAPI is focused primarily on the C family, but how do new programming languages use those features without creating their own runtime/interpreter type thing? Do they hook directly into the DLL ...
1
vote
2answers
368 views

Decouple GUI & Program logic

I have some windows c++ code (pure winapi c++, no MFC etc) that I would like to build a GUI for. My code does not know about windows GUI, it is completely decoupled from any type of UI. The question: ...