Skip to main content

Questions tagged [win32]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
21 votes
3 answers
4k views

How do I remove unsupported characters from a filename on Windows

I've used a live boot CD of Linux couple weeks ago and have redirected screenshots to my NTFS drive.The filenames contain a colon symbol : which is one of the unsupported characters for a filename on ...
user avatar
10 votes
5 answers
11k views

How to safely delete stuff from %SystemDrive%\Windows\Installer? [duplicate]

Possible Duplicate: Is it safe to delete from C:\Windows\Installer? Not Duplicate: The link mentioned above talks about Windows XP. I am talking about Windows 7. The behavior of the folder ...
Randall Flagg's user avatar
8 votes
3 answers
5k views

Using Win32 in DOS

Is there a way that I can start the Win32 environment or run Win32 programs from DOS without starting the Windows GUI? I'm using a Windows 98 PC that is booted into DOS mode from a floppy disk. EDIT:...
StackUnderflow's user avatar
4 votes
2 answers
2k views

Is there a workaround to enable classic Win32 Desktop apps to run on Windows RT (ARM)

According to this arstechnica article and this mozilla blog post the Win32 API is present on Windows RT, but Microsoft chooses to not make it available for third party applications. Office and ...
dodgy_coder's user avatar
4 votes
1 answer
2k views

How can I bundle a bunch of installations binaries together into one executable that calls a bunch of sub-executables?

I have a script which I want to deploy to some people in my group, but there are three dependencies ( python2.7, ExchangeCDO, pywin32). Is there a way that I can create one installation file that has ...
Ross Rogers's user avatar
  • 4,607
3 votes
2 answers
1k views

What is the Valid Range for Print Job IDs on Windows?

I've tried searching for this for a while now, but I can't find any MS documentation which details what the maximum and minimum valid print job IDs are for windows. Does anyone know of documentation ...
Andy's user avatar
  • 151
2 votes
1 answer
855 views

Why does a Win32 application show Korean Characters correctly on one Windows 10 computer but not another with the same version and language packs?

Our company supports a Win32 App. One of our customers uses both English and Korean (Hangul) characters. One of the two computers displays Korean characters correctly in a particular set of fields, ...
JohanTux's user avatar
  • 143
2 votes
0 answers
922 views

How is a batch file (`.cmd` / `.bat`) file executed on Windows?

Context On Windows, the application responsible for opening a given file type (identified by its extension) is resolved using file associations defined (among a few other places) in HKEY_CLASSES_ROOT. ...
a-n's user avatar
  • 39
1 vote
1 answer
3k views

WmiEvent for any usb device

I am following this answer, which contains Register-WmiEvent -Class win32_VolumeChangeEvent -SourceIdentifier volumeChange and $newEvent = Wait-Event -SourceIdentifier volumeChange This works when ...
GiantDuck's user avatar
  • 457
1 vote
1 answer
186 views

Any way to disable rounded CONTROLS (not windows!) in Windows 11?

There are lots of utilities out there that allow you disable rounded corners of application windows in Windows 11, but I haven't been able to find anything that manages to also modify the visual ...
kwyntes's user avatar
  • 161
1 vote
0 answers
115 views

Disabling the auto move of windows to the primary screen when changing screen configuration?

Using a single screen machine when I log in via Remote Desktop to a machine with three screens, all my open windows automatically get moved to the primary screen. Is there a way to disable this ...
NabilS's user avatar
  • 111
1 vote
0 answers
2k views

ERROR: "*.exe is not a valid Win32 application." 64-bit executable on Windows XP SP2 x64 on 64-bit machine

I'm using Windows XP SP2 Pro x64 on a 64-bit machine. Default windows services and applications (including IE8) run in 64-bit mode as seen in Task Manager. Yet 3rd party 64-bit executable applications ...
Victor Savcenco's user avatar
0 votes
1 answer
132 views

Is there a way to install the windows 64 bit drivers on my windows 32 bit

So, I know that I am asking an impossible thing but I think that there should be a way for that. Can I install 64bit windows7 drivers to a 32 bit windows 7 computer. Is there any way that can convert ...
Aditya Sinha's user avatar
0 votes
1 answer
739 views

“Not a valid Win32 application” on XP but not Win 7

I am getting a "Not a valid Win32 application" error message when attempting to execute an .EXE downloaded from Microsoft on Windows XP, but it executes fine on Windows 7. What could be the problem?
CJ7's user avatar
  • 1,139
0 votes
1 answer
182 views

Can I access host win32 APIs from a guest virtual machine?

Problem Extract information from a Windows app running on host OS by using win32 APIs from inside of Virtual machine. Details I need to run a background job on a clients' machine and I want to script ...
s3kv's user avatar
  • 3
0 votes
1 answer
419 views

Is there any difference between Taskmgr.exe and LaunchTM.exe?

Is there any difference between Taskmgr.exe and LaunchTM.exe in Windows? Both of these System32 executables seem to just open the Task Manager. If there is no difference then why have two different ...
Vasilis's user avatar
  • 991
0 votes
1 answer
23 views

GUI Cut and Paste

Does Cut and Paste GUI function in Windows10 use -r (recursive) method? Will it move the sub-folder structure with all meta data and other hidden attributes?
Luke's user avatar
  • 1
0 votes
1 answer
146 views

Windows Generic Software Updater API (Example: Steam, Origin) [closed]

i just noticed that the updaters of steam and origin look very similar. Is this just some "coincidence" or is there some generic updater api available in Windows that i never noticed?
Nick Russler's user avatar
0 votes
0 answers
10 views

How do I gray out the service startup type for my own windows service? (The service is written using win32 API ) [migrated]

I am writing a service, in which I want to restrict users from modifying service startup type. How do I do? I have attached a windows service which grays out the startup option. WinDefend - Service ...
pari.dev's user avatar
0 votes
0 answers
69 views

Why is my Windows 10 charmap UI layout 'messed up'?

I'm not really sure how to describe it, so here's a picture. I added the red arrows to highlight some of the things that look wrong. Windows 10 Version 22H2 (OS Build 19045.3930)
Mike Clark's user avatar
0 votes
0 answers
335 views

How do you change the name shown in Task Manager for a running process (in particular a sub-process of the main executable) [closed]

Unlike on Linux or macOS, I haven't been able to find an API to change the process name of a running process (or in the case I care about, a sub-process). I'd want it to still appear under the main ...
jesup's user avatar
  • 111
0 votes
1 answer
159 views

Control Panel Applet Execution Command Line Syntax

I'm trying to invoke Internet Options Control Panel applet through command line (Run dialogue). Specifically, the "Connections" tab. I used the following syntax: rundll32.exe shell32.dll,...
ThunderStormer's user avatar
0 votes
0 answers
2k views

Restore passwords from Google Chrome login file

I have reinstalled Windows recently and as a result lost all of my login data for Google Chrome with sites' passwords. A little research told me that I have to be under the exact same windows profile ...
i80r's user avatar
  • 1
0 votes
0 answers
257 views

How do I bring multiple screen locking dialog box back to the screen in an awful and old win32 application on Windows 7?

When I use the win32 program in question the screen locks as it would with a shadow box on most modern applications, except without the shadow box and often with two over lapping dialogs that don't ...
leeand00's user avatar
  • 22.7k
0 votes
0 answers
285 views

Using an MS-DOS batch file to run a Win32 application

If I write a batch file that involves executing a Windows program, will the batch file pause until the opened program is closed, or will I have to use "PAUSE" to, well, pause the batch file until I've ...
Foebane's user avatar
  • 819
0 votes
0 answers
533 views

How to kill all obtrusive messagebox recursion manually when they are opened very quickly and very many in Windows

Firstly, I do not asking for programming solutions, I just publish this code to show how this program work. I tried this program below (in Virtual Box): #include <iostream> #include <string....
DMaster's user avatar
  • 241
0 votes
1 answer
5k views

Proxy settings for HTTP request using libcurl

I am fairly new to HTTP Protocols involving proxies and authentication. I am working on an application that runs on Windows and uses the host network to send/receive HTTP/S requests. It also uses ...
linux developer's user avatar
-1 votes
2 answers
728 views

What is windows API?

I dug on the internet to try to have a clear idea of what are exactly a framework, a library, and an API. But I still don't understand something. What is the framework/library the windows API is ...
sebastien finor's user avatar