win64

Android Studio 2.3 emulator freezes / crashes

允我心安 提交于 2019-12-12 02:34:15
问题 I updated from studio 2.2 to 2.3 and here the emulator appears showing "Android is starting" and at various numbers of for example "Optimizing app 22 of 45." it freezes. Restarting is not possible as I can not terminate "qemu-system-i386.exe" (access denied). I already uninstalled the emulator version 26 (version 25 had the same problem) with SDK manager (even undeleted ...\AppData\Local\Android\sdk\emulator) and reinstalled it and did a lot of other things but nothing helps. Any ideas how I

Compiling with Delphi 2009 from a command line under Windows Vista 64-bit

老子叫甜甜 提交于 2019-12-11 09:49:57
问题 Has anyone succeeded to compile a Win32 GUI app with the command line dcc32.exe compiler, under 64-bit Windows Vista, without installing Delphi 2009? On our system it fails, with a message that the DFM files contain unknown 16-bit resources. This is usually an indication that the DFM files cannot be read. It works perfectly on all 32-bit Vista and Windows XPs, that we tried. I am asking, because we want to ensure that we can rebuild our current exe files later, if needed, so even if we all

EnumProcessModulesEx missing in psapi.h

元气小坏坏 提交于 2019-12-11 08:26:52
问题 I am trying to enumerate all the processes running in windows, both 32bit and 64bit, for 64bit I need to call EnumProcessModulesEx, which isn't available in the psapi.h with Devc++ that I am using, so I downloaded Windows8 SDK. So now I have the psapi.h with EnumProcessModulesEx defined but its giving me all kind of errors when I include it in my project. I included the path to the directories consisting of all the header files which came with the SDK, What am I supposed to do ? Here is the

Win64下通过JNI(C++)创建jvm

假装没事ソ 提交于 2019-12-10 17:26:56
在Win64下通过jni启动jvm并运行java类: 环境设置: jdk: jdk7_45(x64) vs2010 64位命令行工具, 用来编译我们写的C++,就是这个: 环境变量设置: LIB变量添加 “C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64”, 编译时能找到64位库; LIB变量中添加%JAVA_HOME%\lib,主要是在编译时能找到jvm.lib库文件; PATH变量中添加%JAVA_HOME%\jre\bin\server,主要是为了运行编译后的exe文件能找到jvm.dll文件. 码代码: java代码(待执行): public class HelloInvocation{ public static int add(int a, int b) { return a+b; } } c++代码: #include <jni.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 #define PATH_SEPARATOR ';' #else #define PATH_SEPARATOR ':' #endif int main(){ JavaVMOption options[1]; JNIEnv *env; JavaVM *jvm;

Virtual allocation granularity and page size

流过昼夜 提交于 2019-12-10 13:38:47
问题 What are the typical values of the virtual allocation granularity and page size on Win64 platforms? That'd be SYSTEM_INFO's dwAllocationGranularity and dwPageSize. On Win32 systems these would be 64k and 4k. I need to know because I've designed a custom allocator based on VirtualAlloc for a Win32 application and wonder if my design choices are still valid on Win64. I have no access to a Win64 system. Thanks in advance! 回答1: It is still the same, 64k and 4k on Vista x64. Not so sure if that

How do I resolve “%1 is not a valid Win32 application”?

余生长醉 提交于 2019-12-10 12:55:38
问题 Environment: Windows Server 2003 R2 Enterprise 64bit, SP2 .NET framework is supposedly installed (2.0 SP2, 3.0 SP2, 3.5 SP1) I say "supposedly" because they are listed as installed under Add/Remove programs. I'm not sure it's properly installed, because the "ASP.NET" tab isn't added to any of the sites in IIS. In the IIS Web Service Extensions section, I have both "ASP.NET v2.0.50727" (Allowed), and "ASP.NET v2.0.50727 (32-bit)" (Prohibited). The site in question has script-execute enabled.

Executing 32bit and 64bit mshta.exe (bypass default handler)

隐身守侯 提交于 2019-12-10 10:04:49
问题 I'd like to be able to launch a page.hta in 32bit and 64bit versions of the mshta.exe. Create the file c:\page.hta <body onclick="if(confirm('Close? (onclick)')){self.close();}"> <h1>Test Page</h1> <script type="text/javascript"> var elem = [ "UserAgent="+window.navigator.userAgent, "Platform="+window.navigator.platform ]; var taBegin = "<textarea style='width:100%' rows='"+((elem.length+1)*1.5)+"'>"; var taEnd = "</textarea>"; document.write(taBegin+elem.join("\n")+taEnd); </script> </body>

MySQL ODBC 32 vs 64 bit

耗尽温柔 提交于 2019-12-09 13:29:52
问题 I have a 32-bit application that must run on a Windows x64 server using a 64-bit version of MySQL. Should I use a 32-bit ODBC driver or a 64-bit ODBC driver? Or should I install a 32-bit version of MySQL too? 回答1: You would need to install a 32-bit SQL and ODBC driver seeing as how your application is in 32-bit. For compatibility reasons. I am still searching, will edit. ** EDIT To work around this problem, use the appropriate version of the ODBC Administrator tool. If you build and then run

Heat.exe Cannot Harvest TypeLib Info from a 64-bit COM DLL

末鹿安然 提交于 2019-12-08 17:24:45
问题 I have a 64-bit-only COM DLL that I want to harvest typelib info from, using heat.exe. But when I attempt to do that, I get the error 193 (bad executable format). Is heat.exe 32-bit only, and cannot work with 64-bit executables? I found only one version of heat.exe on my machine. Thanks. 回答1: Unfortunately heat.exe is indeed 32-bit and can therefore only harvest 32-bit COM registrations: http://wixtoolset.org/issues/1661/ However 64-bit heat.exe extensions are discussed here: http:/

x64 calling convention (stack) and varargs

橙三吉。 提交于 2019-12-07 04:47:00
问题 I've read Microsoft's documentation, but the scheme is so awkward, I thought I'd double-check to make sure I'm understanding it correctly... My understanding is the generic method by which parameters are passed is this: --- bottom of stack --- (return address) [shadow space for arg 1] [shadow space for arg 2] [shadow space for arg 3] [shadow space for arg 4] arg N arg N - 1 arg N - 2 ... arg 6 arg 5 ---- top of stack ----- It seems so awkward when implementing va_arg and such... is this