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

learn more… | top users | synonyms (1)

41
votes
7answers
12k views

Difference between '\n' and '\r\n'

Yes yes, I am aware that '\n' writes a newline in UNIX while for Windows there is the two character sequence: '\r\n'. All this is very nice in theory, but my question is why? Why the carriage return ...
25
votes
7answers
1k views

Is there a Windows philosophy of programming?

I've been programming both in Unix and Windows environments. Mostly I've worked in Unix, where I've learned Unix Philosophy, which can be summarized as Write programs that do one thing and do it ...
24
votes
8answers
1k views

Legitimate use of the Windows “Documents” folder in programs

Anyone who likes their Documents folder to contain only things they place there knows that the standard Documents folder is completely unsuitable for this task. Every program seems to want to put its ...
20
votes
8answers
3k views

Linux Programmer moving to Windows [closed]

I am a fairly proficient Linux programmer. I have been coding in Linux for 4 years, for both personal reasons and for profit. During those 4 years I have not even owned a computer running the ...
19
votes
5answers
5k views

Moving from Winforms to WPF [closed]

I am a long time experienced Windows Forms developer, but now it's time to move to WPF because a new WPF project is comming soon to me and I have only a short lead time to prepare myself to learn WPF. ...
18
votes
4answers
36k views

Does Microsoft have a free version of Visual Studio? [closed]

Not a trial, but a truly free version that they offer users to download.... I was wondering in case I somehow missed the option on their website. Any version of Visual Studio will do. If not, are ...
18
votes
12answers
9k views

What are the practical uses of Windows Services?

I am new to working with Windows Services. Although I have learnt to create Windows Services in VS2010 I would like to know some practical ways in which windows services could be used? I tried ...
17
votes
5answers
3k views

Why can't Windows services have a GUI?

I was using this feature in earlier Windows release like XP and NT. I was able to run a GUI from a Windows service. But it is not possible in the later versions. What is the reason behind the removal ...
16
votes
6answers
1k views

INI files or Registry or personal files?

I want to save the configuration of my project which includes Screen size Screen position Folder paths Users settings and so on. The standard places where you can save these are configuration ...
16
votes
9answers
2k views

What were the reasons why Windows never had a decent shell? [closed]

I was reading a topic on SO: Why are scripting languages (e.g. ...) not suitable as shell languages?. Especially I liked the answer by Jörg W Mittag, from which I learned interesting things about ...
15
votes
10answers
1k views

At what point should I have my Windows developers upgrade to the latest release of Windows?

At what point should I begin upgrading our developer's machines to a later Windows release? From experience, Microsoft typically has an epic fail about every other O.S. (I am really not trying to ...
15
votes
7answers
2k views

Is it possible to effectively develop PHP applications on Windows that will be deployed on servers running Linux?

Is it fine to code PHP on Windows and host it later on a server running Linux? Can there be any problems in the migration of such a project? I would think that there really can't be any problems, ...
14
votes
7answers
2k views

Is Windows suitable for Ruby development?

I've read that Windows is not recommended for Ruby development and this is last thing that stops me from starting some projects in Ruby. Are there any changes to this? Or any suggestions to make ...
14
votes
12answers
702 views

What default features is Windows missing that are required for programmers? [closed]

What features is Windows missing that can improve the productivity of a programmer. I know a lot of people would want some features from Linux and OSX ported or being created for Windows as well. What ...
14
votes
1answer
648 views

Is Windows a “second class citizen” in the Django community?

I'm currently doing R&D for a web application which we plan to host ourselves initially and then allow customers to self host. My task has been evaluating web frameworks to see which would give ...
12
votes
4answers
1k views

Do Windows Installers for internal business applications make sense?

I'm trying to build a general understanding for what's common in this situation so that I can decide if it makes sense to pursue it further. Are installers welcome in a typical corporate environment ...
12
votes
9answers
3k views

Is Cygwin or Windows Command Prompt preferable for getting a consistent terminal experience for development?

The question: Which is better, installing cygwin or one of its cousins on all my windows machines to have a consistent terminal experience across all my development machines, or becoming well trained ...
11
votes
4answers
903 views

Windows programming - should you leave UAC on?

What is the recommended User Account Control (UAC) setting when developing on Windows? Even on Win7 I find it annoying enough to turn it off (because it makes me more productive with it off) but ...
10
votes
3answers
2k views

MonoTouch/MonoDroid + C# = trustable? [duplicate]

Possible Duplicates: MonoTouch vs Objective-C for iPhone/iPod/iPad development As a C# developer, would you learn Java to develop for Android or use MonoDroid instead? I'm very curious ...
10
votes
4answers
1k views

Evolution of the Win32 API

Has the Windows 32 API changed much over time? Does the Charles Petzold book "Programming Windows, 5th Edition" from 1998 still contain relevant information, or is most of it obsolete/outdated? What ...
9
votes
3answers
2k views

Can I use Linux/Mono instead of Windows/Visual Studio without any problem?

I have more than 6 years of experience with .Net (C#/ASP.NET) and Visual Studio. But recently I'm tempted to switch to Linux/Mono. It comes up with some questions: Can I run my old Visual Studio ...
9
votes
1answer
2k views

Embedded Linux vs Windows Embedded Standard 7

Ok looking for some really subjective answers. My company has traditionally been a Linux shop, we manufacture and sell purpose built boxes for video security. We recently decided to build an ...
8
votes
8answers
1k views

What are the consequences of still sticking with Windows XP despite there are Windows Vista, 7 and very soon 8? [closed]

From a .Net programmer perspective, what are the consequences of still sticking with Windows XP despite there are Windows Vista, 7 and very soon 8? How does having windows XP limit programmers ...
8
votes
3answers
18k views

Windows Phone 8 development on Windows 7 - is it or will be possible?

I was trying to install Windows Phone 8 SDK on my Windows 7 machine and it hit me with the 'supported only on Windows 8' message. I actually wanted to develop Phone 7.5 apps on Visual Studio 2012, ...
8
votes
5answers
1k views

Should a programmer use the default environment?

I see a lot of programmers (and, generally, tech people) using the old "Classic theme" in Windows instead of Aero (or Luna in Windows XP) for reasons like "it is faster" or "I don't want eye-candy". ...
8
votes
3answers
787 views

Are there any tools for testing drag & drop Windows desktop applications?

I need to develop a Windows desktop application (win32 API) which will use drag & drop extensively in many formats, including my own. I need to test it, for example, with CF_TEXT dragging, CF_RTF, ...
7
votes
10answers
2k views

Do Microsoft Certifications matter? [duplicate]

Possible Duplicate: Are certifications worth it? I'm curious what experience others have had, both from the perspective of an employer and an employee on Microsoft Certifications. I'm kind ...
7
votes
1answer
356 views

Software Architecture: How to divide work to a network of computers?

Imagine a scenario as follows: Lets say you have a central computer which generates a lot of data. This data must go through some processing, which unfortunately takes longer than to generate. In ...
7
votes
4answers
928 views

How to get started with Github (for me)? [closed]

I registered myself in github a few days ago. Mainly for starting projects to share some of my ideas with others as well as get the source available from anywhere. This is my first open-contribution ...
7
votes
5answers
255 views

Have you ever hated a framework/programming language/platform but you eventually became curious in learning?

Little background: I've always been kind of a Microsoft hater. A while ago just the fact of learning a something like C# scared me. I was only interested in opensource project and programming ...
7
votes
7answers
1k views

How can I make my PHP development environment more efficient?

I want to start a home-brew pet project in PHP. I've spent some time in my life developing in PHP and I've always felt it was hard to organize the development environment efficiently. In my ...
7
votes
2answers
2k views

How big a problem is Qt's cross-platform GUI? [closed]

I read something on this site saying that Qt's GUI being a big problem that stop programmers from using Qt. They say the problem is that the GUI don't look native, and they are inconsistent. I ...
7
votes
1answer
192 views

Why fewer IRQLs in 64-bit, even though an APIC has more interrupt lines?

As x86 computers shifted from 32-bit to 64-bit, they also shifted from using 8259-style Programmable Interrupt Controllers with 8 interrupt lines. (Or two multiplexed PICs for a total of 15 interrupt ...
6
votes
6answers
455 views

Noobie wants to use source control, how would you guide them?

Let's say you know of an anonymous noobie that wants to be lead upon the path of righteousness. This noobie wants to use some sort of source control tools simply for the experience of using source ...
6
votes
6answers
702 views

Programming language for simple program?

I am wondering about which programming languages people see fit to create a program idea that I had. I am looking to create a fairly simple program whose main functions are adding to, managing, and ...
6
votes
4answers
341 views

Reason behind multi-line declaration style?

I'm a little curious about the reason behind the Windows header file declaration styles. When I read them, I see multi-line declarations such as the following: WINBASEAPI HANDLE WINAPI GetStdHandle( ...
6
votes
4answers
243 views

Why don't software vendors use existing scheduling facilities for automatic upgrades?

It is common for software vendors to offer automatic updates. The research and installation of these updates can be done at application startup through a service or process in the background (which ...
5
votes
3answers
194 views

Window Position on Startup

Here's a question for me that really makes me wonder every time I start designing and developing a thick-client desktop application. I'm a .NET developer, and with my forms (WinForms mostly, but the ...
5
votes
4answers
722 views

Is it possible to create a 2d game for both linux and windows with next to no changes?

I'm starting a project with friends which would preferably reach both audiences of windows and linux. The only problem is that none of us have any experience of linux porting or linux coding any way. ...
5
votes
3answers
747 views

How to better integrate a unix development environment into Windows [closed]

I'm mostly a Windows user but I do most of my development (essentially web development) using unix tools and software. I've been going back and forth between using a dedicated lubuntu virtual machine ...
5
votes
3answers
407 views

Unit Testing For Different Environments

How does one do unit testing for multiple environments that behave differently? Here is my problem. I have a PHP class for which I'd like to create unit tests. The class provides shortcuts for ...
5
votes
2answers
493 views

What are “Metro apps”?

While it is relatively new now (2011/09/15), are there any resources for explanations of Metro applications for Windows8? I've not seen anything at the moment that summarises an "elevator pitch" for ...
5
votes
4answers
823 views

Using Windows tools to edit Linux project files [closed]

In the spirit of getting new people on the project up to speed and leveraging their familiarity with existing Windows tools, what are possible options for cross-platform editing/development? Of ...
5
votes
2answers
946 views

How to implement smart card authentication with a .NET Fat client?

I know very little about smart card authentication in general so please point out or correct me if anything below doesn't make sense. Lets say i have: A Certificate Authority "X"-s smart card ...
5
votes
2answers
693 views

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

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 ...
4
votes
6answers
679 views

The cost of running a Windows App Server

I want to know what is the cost of running a Windows Application Server. I know the cost of running a Linux server with Java based Application Server is probably zero. What is the cost of running a ...
4
votes
8answers
10k views

Best starting point for writing small desktop programs for Windows? [duplicate]

I know how to program for Unix, Mac, and iOS, but I have no clue when it comes to Windows. Now I have a specific project that requires building a Windows version of a Mac OS X desktop app. But I have ...
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
308 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
5answers
606 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 ...