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

learn more… | top users | synonyms (1)

0
votes
1answer
423 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
227 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
1k 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
99 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
2answers
5k 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
652 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
71 views

When should I consider using a string table resource over a string constant in my Win32 application?

I've written a fair bit of Win32 desktop apps as hobby projects throughout my career but I've never used resources of the type string table in any of them; usually I either hard-code strings or build ...
0
votes
1answer
116 views

Why does the Windows Clipboard require an STA thread?

To copy something to the clipboard in Windows (at least in .NET as far as I know) it has to be done on a separate thread that is in STA Mode. One example I have used is this. Thread thread = new ...
0
votes
1answer
76 views

Testing a windows game application against older versions of windows

If I were to build a game using Visual Studio 2015 and (Most likely) SDL2, I think I'm right in assuming that in order for that game to run, the user's target windows version needs to have Visual C++ ...
0
votes
1answer
471 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 ...
0
votes
1answer
270 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 ...
0
votes
1answer
503 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
1answer
375 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+ ...
0
votes
1answer
358 views

Design patterns to manage multiple windows/screens?

Supposed there is an application with multiple windows, like: Logo splashscreen Connecting... screen Login-usercontrols screen Logging in... screen etc. Is there a design pattern, which allows to ...
0
votes
2answers
336 views

WINAPI beginner guidance question

I'm learning to develop windows applications using WINAPI and plain C. Now I got a bit confused with all those handles and would like to ask if you guys could teach me some good practices to structure ...
0
votes
0answers
11 views

Default Application Compatibilty Manifest for new Visual-Studio projects? [migrated]

I'm currently fighting with some app compat settings, specifically a certain shim, and looking into the compatibilty section of the application manifest. Details aside, one thing that strikes me as ...
0
votes
0answers
41 views

Compatibility with POSIX's fork() in Windows by means of the NT Native API [closed]

Small introduction for if the reader is not aware of the involved details: In the context of the NT architecture, the Native NT API, a.k.a ntdll.dll, is a fundamental part of the operating system, ...
0
votes
0answers
45 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on quite a bunch of machines are needed to be reconfigured to a different database in ...
0
votes
0answers
35 views

Looking for an elegant solution to monitor and start an application in non-administrator user login in Windows

I would to get some suggestions or idea about how to tackle this problem. Background I need to run an application on a Windows serve. The application has a dependency on MS Office and it interacts ...
0
votes
0answers
69 views

A callback for when data is received?

So, my understanding is that the Kernel could receive TCP at any time, and that generally a C program asks the Kernel synchronously/asynchronously if it has data available. Would it be possible for a ...
0
votes
2answers
718 views

Calling another program from a Windows Service

Problem: I am working on a service which will do some automated processing at a configurable time each night. It does some communication over the internet, formats some information, and creates a ...
0
votes
0answers
227 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
votes
3answers
216 views

What should I be using to store data in a legacy web development project? [closed]

I'm currently working on a project that uses a Webserver running in Windows CE 6.0. Since this server only supports classic ASP (i.e, no PHP, ASP.NET, etc.)/ I plan to use XML as the database. Is ...
-1
votes
5answers
433 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
votes
2answers
416 views

What role does .ini play?

I am working with a MFC application for the first time and I have lots of doubts the biggest at the moment is What is .ini file and why is it there? What exactly is the role it plays? Can some tell me ...
-1
votes
1answer
831 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
1answer
792 views

Benefit of C++ to System Administrators [closed]

What benefit could C++ bring to system administrators? I am working on Windows and Ubuntu. If I learn C++, where could I implement it in system administration, Please specify some of its benefits.
-1
votes
2answers
164 views

Creating an ASP.Net MVC web application that can work on different operating systems

I have been developing and deploying many ASP.Net MVC web applications under Windows Server 2008 R2 & Windows Server 2012 R2, and I used IIS 7 & IIS 8. At the same time I know that I can ...
-1
votes
1answer
83 views

.net Windows app in a web page [closed]

I am developing a feature related to Microsoft Outlook which has support only for Windows library. However, I have to put this into a web page for the users. In the process of consuming the windows ...
-1
votes
1answer
123 views

Is it safe to execute the “regedit” command on Windows? [closed]

I'm writing a Java application, I need to create a URI Scheme. I've seen a library creating a URI Scheme using the "regedit" command on Windows. Is it safe to execute "regedit" for this task? Is ...
-1
votes
2answers
2k 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 ...
-1
votes
1answer
430 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', ...
-1
votes
1answer
1k 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 ...
-1
votes
1answer
246 views

Mac Dev Team, suggestions for an remote windows testing environment?

Alright, so my situation is as follows: 1 Front End Developer 2 Back End Developers 1 QA Tester We all currently have Virtual Machines, or Second PC's set up with our windows environments to test. ...
-1
votes
1answer
279 views

Longest x86 Instruction

I read the recent article "Longest x86 Instruction" http://blog.onlinedisassembler.com/blog/?p=23 I attempted to reproduce the curious disassembly issue on a Win7x86 development platform using masm ...
-1
votes
1answer
380 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 ...
-1
votes
1answer
455 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
0answers
128 views

Cannot allocate very large memory blocks even though I'm compiling as x64 [closed]

Running on 64-bit Windows and compiling my code with Visual Studio 2015 in 64-bit mode, when I attempt to allocate large amounts of memory (e.g. 0xff_ffff_ffff bytes, or just under 1TB) the ...
-1
votes
1answer
168 views

How to know if an app is launched in windows service application [closed]

I'm trying to write a program which waits for a specific app (matlab in my case) to launch and does stuff when the app launches. I see that I had to write a windows service application and managed ...
-1
votes
3answers
500 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 ...
-2
votes
3answers
518 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 ...
-2
votes
1answer
12k views

How to make .exe file from html5 css application? [closed]

I would like to make windows desktop application using HTML5, JavaScript and CSS. I am trying tidesdk XULRunner appjs I read the documentations of these technologies. But I didn't see how to ...
-2
votes
0answers
54 views

Will it help to just recompile Open Office for 64-bit Windows?

On the Open Office website they only have one version of Open Office for Windows and it's 32-bit. A 64-bit version is available for linux, but not for Windows. The 32-bit version can run on 64-bit ...
-3
votes
1answer
274 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 ...
-3
votes
0answers
36 views

Question about video format when developing an online video streaming/editing application [on hold]

I'm going to develop an online video website with a built-in video editor using ASP.NET. In the requirements, my application both supports video streaming and editing on the Internet, and the user can ...
-3
votes
0answers
44 views

Compiling C++ on windows [closed]

This is my first time posting something up there so any advice would be good. (I'm not a native english speaker, so i may be difficult to understand from time to time, don't hesitate to point out my ...