Questions tagged [win32]

28 questions
21
votes
3 answers

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 the NTFS file system. Unsupported characters are:…
user1820994
10
votes
5 answers

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

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 might have changed between the 2 windows and I would…
9
votes
1 answer

Identifying an EXE file's PE type via PowerShell

Preamble I am trying to ascertain the platform-type of an EXE and I cannot reconcile what I'm seeing with any known source. I have a bit of PowerShell which reads the first 30 characters of an EXE as text, splits on the characters 'PE', and then…
seagull
  • 6,216
  • 10
  • 33
  • 42
8
votes
3 answers

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: I want to run command line programs. Some of…
4
votes
2 answers

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 Internet Explorer on WinRT ARM use the standard Win32…
4
votes
1 answer

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 these three installation dependencies bundled…
Ross Rogers
  • 4,807
3
votes
2 answers

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 anywhere that might provide this information? The…
Andy
  • 151
2
votes
1 answer

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 System32 executables that do the same thing?
Vasilis
  • 1,051
2
votes
1 answer

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 styles to make controls (buttons, checkboxes, etc.)…
kwyntes
  • 191
  • 10
2
votes
0 answers

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. Usually, if I wanted to make a file with a given…
a-n
  • 49
2
votes
1 answer

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, and one displays Korean characters incorrectly…
JohanTux
  • 143
1
vote
1 answer

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 I insert or remove a USB flash drive. (I'm…
GiantDuck
  • 517
1
vote
0 answers

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 functionality, either through the registry or…
NabilS
  • 111
1
vote
0 answers

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 won't start. Applications were executed from…
0
votes
0 answers

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 #include #include using namespace std; int main(int…
DMaster
  • 241
1
2