wow64

Running System32 programs instead of SysWOW64 when launching from MINGW

耗尽温柔 提交于 2020-01-24 22:55:06
问题 I'm trying to create EXE files from a shell script file I'm launching from minggw (used from git bash) My problem is when I run these commands: C:/Windows/system32/iexpress.exe //N C:\\git\\install_64bitWindows.SED C:/Windows/SysWOW64/iexpress.exe //N C:\\git\\Install_32bitWindows.SED They always end up invoking the makecab in SysWOW64 (which creates a 32 bit .exe) Is there anyway for me to launch a new cmd from system32 for me to be able to make my 64 bit .exe? 回答1: Because you're running

WOW64 woes (.lnk shortcuts)

泪湿孤枕 提交于 2020-01-13 13:11:29
问题 I'm using Windows 7 (x64) and Delphi 2010. I'm writing a component that will emulate the start menu. However, I've run into the following problems: If I attempt to open a shortcut (.lnk file) with ShellExecute , this will fail whenever %ProgramFiles% is part of the target path of the shortcut (it will then look at the C:\Program Files (x86) folder instead of C:\Program Files ); ShGetFileInfo fails to extract the correct index of the icon in the system image list if %ProgramFiles% is part of

Write the registry value without redirect in Wow6432Node

北城余情 提交于 2020-01-11 09:36:09
问题 this code insert the registry value Microsoft.Win32.RegistryKey key; key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EMULATION"); key.SetValue("MyBrowser.exe", 8000); textBox1.Text = key.GetValue("MyBrowser.exe").ToString(); key.Close(); in windows 32 bit work, but in 64 bit is inserted to wow6432node how to disable the redirect? 回答1: You need to open the key using RegistryView.Registry64. You specify this

Will msscript.ocx stop working on Windows 8?

折月煮酒 提交于 2020-01-06 15:52:11
问题 As mentioned here, this component became a part of the windows operating system. However VB6 runtime may not be supported on Windows 8 and beyond. So I'm afraid this component may be going away too (even tho it is a part of windows OS). We are going to be attempting to utilize it via a C# consumer using Interop.MSScriptControl.dll, very soon. I've even seen some folks have issues with it on Windows7. Has anyone had success running it on Windows 7 and Windows Server 2008 R2? Does anyone think

WOW64 - running powershell from within Visual Studio

扶醉桌前 提交于 2020-01-05 03:47:06
问题 Can someone please explain, simply, why it is necessary to go through so many hoops in order to run PowerShell (as an external command) from visual studio? I know it has to do with the bit differences but don't get why. The context is a 64 bit Windows 7 OS, 32 bit Visual Studio, and 32 bit powershell from the System32 folder if I remember correctly. A 64 bit OS can run both 32/64 applications without problems, so what is the issue here, and why? By internet searching I believe this has

Do 32 bit programs run relatively slower on 64 bit OS against when they are natively run in 32 bit OS

非 Y 不嫁゛ 提交于 2020-01-02 05:34:14
问题 I was reading about WOW 64 here http://en.wikipedia.org/wiki/WOW64 and learnt that its a layer in 64 bit Windows OS to run 32 bit programs. So can I assume that 32 bit programs run relatively slower on 64 bit OS against when they are natively run in 32 bit OS. I can see the advantages of memory access of over 4 GB in 64 bit OS. But does this advantage necessarily offset the small overhead added by layer of WOW64 ? Are there any other advantages of 64 bit which offset this. 回答1: The main

What does WoW64 emulation layer do?

∥☆過路亽.° 提交于 2019-12-31 17:55:50
问题 All WoW64 apps go through WoW64 emulation layer. I'd like to know what happen in this layer.(especially, how they can convert address space) Please give me some important points. 回答1: Since you have already posted the diagram it is clear that you know why WOW64 exists. Now to answer your question: I'd like to know what happen in this layer. I think you want to know how it is implemented. Process startup: The loader loads 64-bit user-mode part 'Ntdll.dll' as usual, but also loads 32-bit Ntdll

in x64 Windows is there a way to run a Runtime.exec() process avoiding 'Registry redirection'

馋奶兔 提交于 2019-12-24 03:49:09
问题 Our app runs in jvm 32 bit, even when in windows x64. Now, at some point, I need to access some registry values, for example HKEY_LOCAL_MACHINE/SOFTWARE/mycomp. I do this by executing cmd /C reg query HKEY_LOCAL_MACHINE\SOFTWARE\mycop from Runtime.exec() and parsing the output. This works fine when running on windows 32b, the problem is when on x64, I cannot find the key, as the shell I run is a 32 bit process, and due to Registry Redirection I would get the key if it was on HKEY_LOCAL