64-bit

Register type library x64 regtlib

白昼怎懂夜的黑 提交于 2019-12-23 15:08:26
问题 I'm running Windows 7 x64, and need to register a type library file (.tlb). I've done this previously (on a Vista x64 machine) but neglected to take notes as to how I achieved it... There is no regtlib.exe / regtlibv12.exe on the system. I have copied across the regtlibv12.exe from a Windows XP system, however this will "not run". I have also attempted to register the TLB via "regsvr32" (tried using both the 32 and 64 bit versions) however always get the "Windows system mismatch" error. I

COM Client/Server cross 64/32 bit processes

空扰寡人 提交于 2019-12-23 14:24:13
问题 On a 64-bit machine: Can a 64-bit application call a COM server (out proc) which is running in 32-bit process? What about vice versa? (32 bit app calling 64-bit COM out proc server) Thanks! 回答1: The whole point of out-proc COM is that the two processes interact via RPC (usually LRPC), so it doesn't matter at all which bitness each of them has. We used COM+ surrogate for forcing 32-bit in-proc components into a separate process for the only purpose of consuming them from 64-bit clients many

x64 modules in a wow64 process?

落爺英雄遲暮 提交于 2019-12-23 13:05:11
问题 I have a small 32bit process I'm debugging on win7 x64 and I see that it loads "C:\windows\sysWow64\ntdll.dll" as expected, but also "C:\windows\system32\ntdll.dll" . I know that x64 modules and x86 modules do not mix, but here they are... mixing... How can it be? 回答1: This is a special 'feature' of WOW64, see this article on MSDN. the relevant part is: The WOW64 emulator runs in user mode. It provides an interface between the 32-bit version of Ntdll.dll and the kernel of the processor, and

“Unable to find a version of runtime to run this application” for 32bit app on 64bit Windows

女生的网名这么多〃 提交于 2019-12-23 13:00:52
问题 I am developing a 32bit WinForm app (target: .NET 3.5). My client insists the app be installed into "Windows\System32\clientname" folder and autostarts on startup. Also, the app must be 32bit, so I can't use "Any CPU". I am developing under Win7 x64 with VS2010 and all versions of .NET are installed. When I start the app I get the message "Unable to find a version of runtime to run this application". On Win7 x86 it works without problem. It's not the app itself and I am 100% sure all the

64-bit ASP.NET MVC App won't run

点点圈 提交于 2019-12-23 12:49:55
问题 First of all, I've previously managed to get one of my 64-bit test web apps to run on this machine (back when I was prototyping for this project). I've been working for a few weeks in 32 bit and realized I need to switch the app over to 64-bit and when I did (Set target platform to x64 in the project) and redeployed, it stopped running. It took me several days to get 64-bit working last time and I'm not sure what I'm missing this time that I did last time. I am publishing to and debugging

How to reserve bottom 4GB VM in an x64 C++ app

丶灬走出姿态 提交于 2019-12-23 12:26:58
问题 Working on porting a 32bit Windows C++ app to 64 bit. Unfortunately, the code uses frequent casting in both directions between DWORD and pointer values. One of the ideas is to reserve the first 4GB of virtual process space as early as possible during process startup so that all subsequent calls to reserve memory will be from virtual addresses greater than 4 GB. This would cause an access violation error any unsafe cast from pointer to DWORD and then back to pointer and would help catch errors

Finding an Install of OpenGL for 64 Bit Windows

风格不统一 提交于 2019-12-23 12:18:18
问题 I am trying to get started on opengl programming from the videotutorialsrock.com site. It wants me to install GLUT and the OpenGL SDK. I was able to download GLUT successfully but the link he has on this page http://www.videotutorialsrock.com/opengl_tutorial/get_opengl_setup_windows/text.php does not work on my 64 bit Windows 7 install. I tried going to the OpenGL page and did not find a download. I am not very familiar with OpenGL just yet so I am hesitant to just download some OpenGL

Missing Microsoft Excel as option in SQL Server data import tool

为君一笑 提交于 2019-12-23 12:15:55
问题 I'm running SQL Server 2012 on a 64bit Windows Server 2012 R2. I don't have MS Office installed. I now notice that when I start Start->Program Files->Microsoft SQL Server 2012->Import and Export Data (64-bit) the MS Excel file option is missing from the datasource dropdown. How can I get that option without having to install Excel or Office on my server? 回答1: Had to install this driver: https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255 After that it works :) 来源: https:/

Can my 32 bit and 64 bit COM components co-reside on the same machine?

穿精又带淫゛_ 提交于 2019-12-23 11:47:53
问题 I have a 32 bit COM component that is used mostly by ASP, we also have the 64 bit version. The 64 bit version is functionally identical and it also uses the same ProgID (and as far as I know the same CLSID's etc). Can I install/regsvr the 64 bit version on the same machine as the 32 bit version (obviously in a different folder) and have my existing 32 bit applications continue to use the 32 bit component, whilst my 64 bit applications consume the 64 bit version? These are native code

Can my 32 bit and 64 bit COM components co-reside on the same machine?

这一生的挚爱 提交于 2019-12-23 11:47:06
问题 I have a 32 bit COM component that is used mostly by ASP, we also have the 64 bit version. The 64 bit version is functionally identical and it also uses the same ProgID (and as far as I know the same CLSID's etc). Can I install/regsvr the 64 bit version on the same machine as the 32 bit version (obviously in a different folder) and have my existing 32 bit applications continue to use the 32 bit component, whilst my 64 bit applications consume the 64 bit version? These are native code