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

learn more… | top users | synonyms (1)

46
votes
7answers
19k 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 ...
34
votes
7answers
5k views

Why don't developers make installation automatic on windows? [closed]

This is the inverse to "Why don't developers make installation wizards on linux?", which is interesting, but made me think "Automatic instalation is the natural way. Why do they use wizards?". So ...
30
votes
6answers
3k views

Do we need to test 32-bit software in 64-bit Windows?

I'm working in a software development team as software developer. I've been working on the same project for three years now. The software is a 32-bit desktop based C# application in .NET 4. Our target ...
27
votes
4answers
63k 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 ...
27
votes
7answers
2k 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 ...
26
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 ...
24
votes
8answers
4k views

Why don't developers make installation wizards on linux? [closed]

I'm sure it's not about laziness or anything like that but I fail to understand why developers of even mainly consumer facing apps don't make any sort of installation wizard where you go ...
20
votes
8answers
4k 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
12answers
13k 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 ...
19
votes
5answers
6k 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. ...
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 ...
17
votes
6answers
2k 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
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 ...
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
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 ...
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
12answers
722 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
761 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
3answers
22k views

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

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, ...
11
votes
4answers
961 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
2answers
713 views

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 ...
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 ...
10
votes
1answer
3k 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 ...
9
votes
3answers
3k 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 ...
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
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
853 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
4answers
994 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
7answers
2k 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
5answers
267 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
2answers
3k 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
4answers
266 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 ...
7
votes
1answer
209 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
457 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
720 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
417 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( ...
5
votes
3answers
200 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
767 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
908 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
558 views

Is there much difference between X86 Assembly language on Windows and Linux?

I'm a complete beginner at Assembly, and my aim is to learn as much as I can to do with Assembly to one day I can reach expert level (I know I'm way off right now, but you never know). My only problem ...
5
votes
3answers
489 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
497 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
861 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
1k 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
965 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
716 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 ...