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

learn more… | top users | synonyms (1)

1
vote
1answer
118 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
532 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: ...
1
vote
6answers
1k views

What's the simplest way to provide a portable, locally running webservice server application?

We have a large website running that offers a JsonRpc web service. For offline demonstration purposes, I want to realize a portable, locally running webserver with a minimalistic feature replication ...
1
vote
1answer
571 views

How complete and mature is PyWin32? [closed]

I am considering utilizing Python for creating an application. The purpose of this application is solely to interact with the Windows API. My question, therefore, is: Is PyWin32 mature and complete ...
1
vote
1answer
149 views

How to provide a custom ID to a downloadable application?

I've noticed that with remote support services, a technician usually sends you a download link to an executable. When you click on that link, it installs a software which automatically connects with ...
1
vote
1answer
94 views

Sharing dlls in a software deployment

We are moving our software project from the practically auto-creating Visual Studio Installer in Visual Studio 2010 to a WiX installer. I'd like to use this change to make sure things are right. The ...
1
vote
1answer
142 views

Most flexible UI Framework for Windows endpoint?

I am tasked with designing and implementing a flexible UI solution for deployment across a series of "kiosk"-ed Windows endpoints. There is some debate about what is the considered to be the best ...
1
vote
2answers
262 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 ...
1
vote
1answer
135 views

Changing OS parameters from Java source code

Can I design my program so that it will automatically change OS's hotkeys parameters? I mean, when installing a program, it will set the hotkey of OS so that if you press them, the program itself ...
1
vote
2answers
259 views

How to run a F# app in Windows Azure?

I have a project that requires me to write a library management system in F# and using Windows Azure for the development. I am quite new to Cloud concept and i don't know what to do as a next step. Is ...
1
vote
1answer
141 views

Use of FindWindow and window handles within a Windows service

I've got a third-party vendor who is installing a series of Windows services to a (Windows 2008 R2) server in my control. Whilst attempting to run each service under its own least-privilege account, ...
1
vote
1answer
154 views

Non-Recursive vs Recursive Locks?

I am thinking of using non-recursive locks; I have found them to be having performance superiority over the standard recursive locks (e.g. SimpleRWSync). I have mainly been using critical sections but ...
1
vote
1answer
595 views

WAN Connectivity between multiple MS ACCESS DB

I have a client that asked me to develop his Windows Application and use MS Access instead of SQL database. I did and now he asked me that he deployed the Application through several of his offices. ...
1
vote
2answers
287 views

Function calls to calls in windows api

When programming in Windows, how does Windows communicate with the programs that run on it? When you incorporate a function call which is in another memory location on the disk or memory (not a ...
1
vote
1answer
350 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 ...
1
vote
1answer
488 views

Switching to Windows Identity Foundation - Should we use the SQL Server role and membership provider?

We have an application which uses SQL Server as the back end. It was client server based, now it will be web based. Our implementation to logon was a user ID and password hash/salt stored in the ...
1
vote
2answers
296 views

Distribution Licensing for Windows XP Junction tool

My application needs to create a directory symbolic link in Windows XP to get around the file path length limitation of ~256 characters. Windows XP does not have this functionality built-in. I had ...
1
vote
1answer
171 views

benchmarks for quasi real-time software

I'm wondering if there is any benchmarks which can help to understand real-time characteristics (response time) of non-real-time software. For instance C# application on Windows or MSSQL Server. I ...
1
vote
0answers
74 views

Curiosity: Unassembled asm in Windows Bootloader

I found this little gem waiting for me in the Windows (10/TP) bootmgr located on the first 300+- MB partition. Can anyone explain to me what it does? Is there an assembler hidden somewhere? These all ...
1
vote
0answers
130 views

Requesting information regarding the use of MUI vs. the use of GetText for i18n/L10n of Windows desktop applications

I have spent the past two days investigating which technology I will use to support translations of text strings (as part of an overall internationalization migration) for an archaic (VC6) Windows ...
1
vote
0answers
351 views

Is this Auto-Updating strategy for a program in C++ compiled with mingw32 for Windows correct?

I 've been thinking a lot on auto-updating, but wanted to check with you guys if you see any anti-patterns in my proposal: Context I'm coding a game in C++ and SDL, compiled in an Ubuntu (host) for ...
1
vote
0answers
130 views

API for accessing CTS and DSR signals of serial port

I'm trying to improve another abstraction of the serial port. The project involved often needs to check one of the single control signals CTS and DSR. This is currently done by a call to ...
1
vote
0answers
1k views

Accessing a 32-bit DLL from a 64-bit process

I'm aware that it's not possible to load a 32-bit DLL into a 64-bit process. The DLL in question is a ODBC driver which is no longer supported (although it works fine) and no 64-bit version of it ...
1
vote
2answers
124 views

Program Compatibility - OS That Can Run Anything? [closed]

I know that programs that are built on one OS won't work on another, like a Windows program on a Linux distribution, and that there are programs that translate those system calls into system calls ...
0
votes
4answers
617 views

What are good reasons to drop Windows XP support? [closed]

Recently the software team in my company decide to use VS2012 (upgrade from VS2008) but we found out that VS2012 does not provide a nice support for Windows XP (e.g. really hard to deploy .Net 3.5 ...
0
votes
5answers
963 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
3answers
325 views

Advantage of monitoring file change using Windows API rather than manually

I developed a Windows software about an year ago. Part of it was to monitor few configuration files for manual changes by user and if any of these change restart a particular service. So, I used the ...
0
votes
1answer
235 views

How many developers on the same virtualized Windows Microsoft machine?

How many c# developers on the same virtualized Microsoft Windows edition is it sensible to have? If everyone uses their own documents and settings folder, should I expect it should be fine? Only ...
0
votes
2answers
145 views

Is it legal to distribute EXEs inside system32 folder with my product [closed]

I'm developing a product related to printing. To work it properly in all windows versions I need to include few exe (lpr.exe) files from system32 folder. So I need to know it is legal to distribute ...
0
votes
2answers
1k views

Why do Windows commands allow `-` and `/` switches? [closed]

> shutdown /? > Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f] The windows cmd.exe command shutdown only documents forward slash / switches, but it accepts ...
0
votes
3answers
275 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, ...
0
votes
2answers
658 views

how to approach pharmacy software project [closed]

I would like to complete a pharmacy software proof concept. But I have a few questions I do not know. Physician information In order to refill or dispense a new RX the software needs to have access ...
0
votes
4answers
1k views

Webcam software for both Windows and Linux – possible? [closed]

my visually impaired sister uses a webcam with DIY stand as a digital magnifier to read printed texts. We wanted to initiate a project to create a software - in fact only a modified webcam viewer ...
0
votes
3answers
111 views

What is the explication for the difference execution time for the same instruction?

As you know when we run instruction in our code like long a = b; we will not have the same ticks each to be executed. first exeution it take 2ticks; second exeution it take 3ticks; third exeution it ...
0
votes
3answers
85 views

How to test Windows .NET TCP program handling of connection failure [closed]

I've written my own C# TCP communications module (using SocketAsyncEventArgs, although that's presumably irrelevant). My module runs at both ends of the connection, client and server. As part of the ...
0
votes
1answer
599 views

Proxy to redirect DNS during development [closed]

I am using Genymotion to test an app. The app is basically a browser that connects to my website. I do not have the app's source. I do the development and testing of the website in a domain like this: ...
0
votes
3answers
72 views

Preferred location for installing user guides, sample documents on Windows?

By default, the installer for my product copies files to the Users\Username\AppData\local\MyProduct directory (though the user can change this during installation, of course). I want to bundle some ...
0
votes
2answers
1k views

Visual Studio c++ Windows forms? [closed]

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 ...
0
votes
2answers
2k views

Detect or Prevent Screen Capture Applications

I am building an app that displays very sensitive information and as such, I want to be able to either Disable the ability to capture the screen Redact the portion of my app that is on the screen ...
0
votes
1answer
137 views

Need advise for porting linux script to Win command line [closed]

I am creating app(script) that is used similar to RSS reader for specific webpage that doesn't have RSS. So my app downloads that html page in defined intervals, checks new items and parses them into ...
0
votes
2answers
79 views

Data sharing across processes [closed]

I have a C# .NET app that downloads a users Tweets using LinqToTwitter. This is for TV broadcast - the client wants to show Tweets on air. We have two other apps that need to access these tweets. One ...
0
votes
2answers
320 views

Small self-contained windows desktop application technologies? [closed]

Firstly, I'm not new to this. I've written desktop applications for Windows going back to 1991 with Visual Basic 3.0. I've used C/C++ and Win32 API, VB3-6, C# 1.0-4.0 and currently knock out web ...
0
votes
2answers
128 views

Somewhere to put miscellaneous files

We want to be able to offer users of our software the facility of having a miscellaneous folder for each of their clients. All these client folders would be stored together in another folder called ...
0
votes
1answer
337 views

What are some books that explain low level stuff like com interfaces, dll injection etc? [closed]

What are some books that explain low level stuff like com interfaces, dll injection etc? Basically low level windows programming. Searching on amazon gives me hacking books/10+ year old books which is ...
0
votes
2answers
222 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 ...
0
votes
2answers
927 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 ...
0
votes
1answer
62 views

Windows Firewall single rule with multiple IP addresses vs multiple rules with single IP address [closed]

I've tried finding some resources to help me on my dilemma, but wasn't successful in my approach. So here goes: I am implementing an automated firewall manager for Windows Firewall which will ban ...
0
votes
1answer
505 views

Sync csv file using nodejs

There is a remote csv file that gets updated every second or so. I need to download it(on a Windows machine) ONCE and always sync local file with the remote one. Obviously, downloading the whole ...
0
votes
1answer
645 views

Working with windows Functions for Recovering Shift+Delete files

I am making software for recovering Shift+Delete files from Windows. I know when files are deleted only links to them are cut off by Windows but the actual file remains there at the same place, so ...
0
votes
1answer
132 views

Best approach to write windows service

We got a situation where we need to write a windows service using c#, the service need to be install on a particular -single- server. Also service need to communicate with a DB to access certain table ...