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

learn more… | top users | synonyms (1)

-3
votes
0answers
30 views

Automatic download and print program [on hold]

I have basic understanding and ability to program with a number of languages, but mostly c and c++. I would like to create a program that automatically downloads the latest pdf file added to a ...
1
vote
0answers
60 views
+50

How to securely implement Roles in a Windows Form application?

As an ISV, what is considered best practice for implementing Application Role based security? In other words, only allow users to access certain features in the application based on what Roles they ...
0
votes
1answer
110 views

Simple unicode application?

I want to create simple language learning applications to help friends in learning languages. A simple Java console application would do the trick, but the Windows console does not seem to handle ...
1
vote
1answer
99 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
1answer
112 views

How should a GUI application written in WinAPI be structured and organized? [closed]

I've done an extensive amount of GUI programming in Winforms and WPF using C#, and a tiny bit in C++ using MFC. I'm building a personal project using WinAPI mainly to gain a deeper knowledge in ...
2
votes
1answer
57 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 ...
0
votes
0answers
3 views

How can I set “no subprocess” for Python IDLE other than shortcut [migrated]

I have been able to get my favorite Python tool, Python iDLE, to work by starting it with a windows shortcut to IDLE.BAT with a -n (no subprocess) at the end of the TARGET string. Is there a ...
3
votes
1answer
123 views

How to fix legacy code that uses <string.h> unsafely?

We've got a bunch of legacy code, written in straight C (some of which is K&R!), which for many, many years has been compiled using Visual C 6.0 (circa 1998) on an XP machine. We realize this is ...
-2
votes
2answers
51 views

Know executables files launched/loaded by an executable file [closed]

I would like to know any executable files launched or loaded by an executable file (if possible without running it,if it is not possible i don't want any change in the system). For example i have ...
0
votes
2answers
251 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
1answer
112 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
1answer
77 views

Modern.IE VM license

Microsoft provides some VMs for testing purposes (advertised on StackOverflow) and I'm trying to understand the license terms. The one I don't really understand is 1.b. You may use the ...
0
votes
0answers
243 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 ...
0
votes
1answer
165 views

How to determine what throws an exception [closed]

Whenever I encounter crashes, the exact type of the exception usually already gives enough info to easily find the culprit. FileNotFoundException will hardly occur while using sockets. Now recently ...
3
votes
1answer
114 views

Why do some program after installation need the system to be restarted? [closed]

I was asked this question in an interview. After installation of programs on windows OS,some program need the system to be restarted while others not. What is the reason behind this? I googled but ...
0
votes
3answers
159 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 ...
4
votes
3answers
620 views

What are my options for using a C++11 library in a C# WPF application? [closed]

I am writing a cross-platform (OS X and Windows) desktop application in C++11. I intend to use the same C++11 core on both platforms, utilizing native frameworks for the UI (Cocoa and Objective-C on ...
1
vote
1answer
106 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
118 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 ...
0
votes
2answers
1k views

How to write an optimal LAN messenger software?

I am asking this question as an extension to the following question: https://superuser.com/questions/713409/how-to-message-any-user-on-your-lan I don't think I have a real answer. I found it quite ...
0
votes
1answer
306 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
2answers
77 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 ...
1
vote
2answers
317 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: ...
0
votes
0answers
96 views

Namespace Extension for Dropbox-like Windows application

I'm interested (for learning purposes) in creating an Namespace Extension for Windows that is similar to Dropbox or SkyDrive. What I'd like to do is integrate directly with Windows Explorer like those ...
1
vote
0answers
77 views

Simple avenues for dynamically building Windows executables

I'm trying to build a Firefox add-on which lets you create executable files which can be associated with a default program or added to the "Open With" list and possess its own icon. I was hoping to ...
-1
votes
1answer
527 views

Using the system tray / notification area app in Windows 7? [closed]

Many dekstop apps have this, such as dropbox (windows version). You right-click the dropbox systray icon and there are shortcuts to the features of the main app. Right now, I want to keep it simple ...
-1
votes
3answers
262 views

Writing simple executable script on Windows [closed]

I'm a Mac user, but I need to write a script on Windows, and I'm not sure how I should go about that. Here's the scenario: Someone adds photos to a USB drive. The drive is then inserted into a ...
3
votes
2answers
276 views

What format is the data going to Windows print drivers?

I have been tasked with writing a print driver. I have no experience with this and have been researching it for a few days. The goal of this is to essentially write the data coming to the driver to ...
-1
votes
1answer
189 views

Intranet application platform decisions wamp vs node [closed]

I have a client/server java application with a firebirdsql backend. This is a pain because I have to install java and the client on every workstation, etc So it is now time to rewrite the ...
-1
votes
2answers
414 views

NT Kernel Source

Well, the first question would be: Is it legal to take hold of the NT Kernel Source? If so, proceed to the second paragraph; if not, proceed to the third. The first thing you'd probably ask is "Why ...
2
votes
2answers
1k 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?
3
votes
1answer
855 views

Windows Console App vs Service

My Situation I work for a company that builds software for many other companies. When I learned installers weren't built-in with VS2012, I was curious how to deploy. So far, I have just been dropping ...
1
vote
2answers
3k 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 ...
0
votes
1answer
226 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 ...
5
votes
3answers
496 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 ...
0
votes
3answers
65 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 ...
-1
votes
1answer
221 views

Determine file type and then decompile to edit source [closed]

I'm new to this type of programming, but proficient in web development... looking to expand my palette a little. I have this file. In Windows 7 the file properties window claims its a 'system file', ...
0
votes
2answers
133 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 ...
3
votes
1answer
152 views

SBCL development on Windows, including CFFI

I have been asked to automate the operation of a Windows (WinForms) application, performing some fairly complicated statistical analysis along the way. My first thought was the usual suspects: .NET, ...
-1
votes
5answers
405 views

Beautiful user interface vs. more and more technical features? [closed]

I will understand if you find this is more a discussion than a technical question and if you close the topic (then, where would be an appropriate place to discuss about that? thank you in advance). ...
1
vote
3answers
509 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 ...
-3
votes
1answer
136 views

Java Program That Notifies When Camera is Being Accessed

I'm trying to find a developer to write me a pretty basic program. I am also a developer, but don't have enough time to write it myself. This program has a pretty basic function. It will notify ...
-2
votes
1answer
503 views

How is Delphi going on the market? Is it worth yet to make a project in Delphi? [closed]

I use Delphi since 1999 because it is visual, fast, helpful and committed to good programming roles. That's what I tell my friends in the university and interviewer when I apply for a job in any ...
-6
votes
2answers
2k views

How to programmatically turn off LED on USB? [closed]

I would like to find out how to programmatically turn off the LED on the USB flash drive. I haven't found any tutorials or good source to get to started with it. I'm willing to try to rewrite or to ...
0
votes
1answer
346 views

metro style on windows and android

I want to develop a rather simple app using windows 8 metro style for GUI. But i need this app to have the same appearance, GUI, for both platforms, so that end users that uses it both on PC and a ...
0
votes
2answers
214 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 ...
1
vote
1answer
86 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 ...
3
votes
4answers
204 views

Make shareware program free in some countries

Idea. To make my shareware program free in less-developed countries. Or release a free edition for these countries. Purpose. More users, bug reports, extensions, active forum, etc. Anyway, 90% sales ...
1
vote
2answers
146 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 ...
0
votes
1answer
173 views

How does GDI/+ work and can it be replaced with my own code?

On wikipedia it says that GDI is an API and core operating system component responsible for representing graphical objects and transmitting them to output devices. I'm not finding much on what GDI+ ...