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

learn more… | top users | synonyms (1)

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 ...
4
votes
1answer
281 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 ...
9
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 ...
2
votes
1answer
470 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?
3
votes
4answers
514 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 ...
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, ...
3
votes
2answers
371 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 ...
7
votes
1answer
197 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 ...
3
votes
2answers
331 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 ...
4
votes
6answers
693 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
2answers
548 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 ...
1
vote
2answers
255 views

How do I preview my mobile web application on a Windows 7 PC?

I am developing a mobile web application that may be browsed in an iPhone. I would like to test this application, but I lack a mobile web device. How can I test this mobile application on a Windows 7 ...
2
votes
2answers
510 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 ...
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, ...
2
votes
1answer
287 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) ...
0
votes
1answer
499 views

Win32 and Win64 programming in C sources? [closed]

I'm learning OpenGL with C and that makes me include the windows.h file in my project. I'd like to look at some more specific windows functions and I wonder if you can cite some good sources for ...
2
votes
2answers
423 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
7answers
623 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?
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 ...
2
votes
2answers
154 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? ...
16
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 ...
3
votes
3answers
463 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 ...
1
vote
1answer
287 views

Coding a web browser on Windows using a layout engine?

I've never attempted anything like this before but what I want to do is code a browser for Windows. I know that I can use the web-browser control that Microsoft has released, but I'm interested in ...
5
votes
3answers
197 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 ...
2
votes
1answer
311 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 ...
4
votes
5answers
1k 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 ...
1
vote
1answer
422 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 ...
3
votes
4answers
981 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
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 ...
0
votes
2answers
784 views

What's better than outputdebugstring for windows debugging?

So, before I came to my current place of employment, the windows OutputDebugString function was completely unheard of, everyone was adding debug messages to string lists and saving them to file or ...
4
votes
6answers
4k 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 ...
0
votes
2answers
212 views

Windows OS design decisions [closed]

I've seen an interview with Richard Stallman some time ago, and he was asked a question about security and Windows OS which he answered saying that there are some relatively bad design decisions that ...
1
vote
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 ...
0
votes
3answers
189 views

Porting Software [closed]

I would like to know what would be needed to study and understand in terms of computing platforms and OS (Linux, Mac OS X and Windows) to become a software porting engineer.
8
votes
3answers
811 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, ...
1
vote
3answers
660 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 ...
5
votes
2answers
810 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 ...
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 ...
1
vote
1answer
519 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 ...
2
votes
3answers
412 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 ...
4
votes
1answer
642 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. ...
0
votes
5answers
802 views

Why exclusively UNIX is taught at universities' operating systems courses? [closed]

I'm not sure this question can be asked here, but nevertheless. Almost each operating systems or systems programming course is taught using UNIX only. I wonder what are the reasons for this? Why ...
0
votes
2answers
897 views

Visual Studio c++ Windows forms?

I've been slacking off with learning how to program because I'm at my wits end trying to figure out the next step. I want to be able to create forms applications just to test random things and give ...
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 ...
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
1answer
693 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 ...
6
votes
6answers
708 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 ...
-2
votes
3answers
369 views

What scripting language to use for large file transfers on windows xp client machines

I'm a java developer that is tasked with creating some scripts that will handle large xml document file transfers by hitting some web service api's from windows xp client machines. There may be other ...
3
votes
2answers
151 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 ...