win64

64-bit Windows API: what is the size of a C/C++ “DWORD”?

徘徊边缘 提交于 2019-12-03 15:33:28
问题 I only have 32-bit Windows installed, so I cannot verify this myself. If I understand correctly, the DWORD used in various places in the Microsoft API is in reference to the original 16-bit word, and has nothing to do with the current hardware architecture? So DWORD which seems to be 32 bits, will remain 32 bits even when I eventually compile and link my app to run in 64-bit Windows? Or will DWORD become 128 bits wide? 回答1: The only thing that changes size between 32 and 64 are pointers. So

Unresolved external symbols in compiling 32 bit application in Windows 64

随声附和 提交于 2019-12-03 11:49:58
So I am trying to compile legacy app from 32 bit to 64 bit.. I re-compiled all of the libs it used and made it look into WIN SDK6.0A x64 bit for libs.. I am using: Visual Studio Professional Edition 2008 Visual C++ dotNet Framework 3.5 SP1 Windows Server 2008R2 Windows SDK is 6.0A Everythings finally coming up but I am getting these weird undefined symbol errors: error LNK2019: unresolved external symbol InterlockedDecrement referenced in function ... error LNK2019: unresolved external symbol InterlockedIncrement referenced in function ... error LNK2019: unresolved external symbol

ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI

我与影子孤独终老i 提交于 2019-12-03 07:01:34
问题 The question is why I see the error message in the title when trying to import enchant. I am using Win64. 回答1: I found the answer in this GitHub page. In a nutshell, they have not shipped a wheel for the win_amd64 platform yet. 回答2: On Ubuntu, run sudo apt-get install libenchant1c2a 回答3: Resolved: On Win7-64 I ran pip3 install pyenchant==1.6.6 which seems to be the latest version of PyEnchant that still shipped with Win-64 binaries. Newer versions did not install for me, but this one did. 回答4

How to compile existing posix code for 64-bit Windows?

本小妞迷上赌 提交于 2019-12-03 03:35:12
I'm ok with using Cygwin or MinGW, but I need to end up with 64-bit code, not 32-bit. This is because I will be calling the DLL from 64-bit managed C#. I can't seem to find and good references for setting up those tools to create 64-bit binaries. Also, it would be nice if the GCC was version 4, not version 3 as came with my Cygwin install. An alternative would be some form of interprocess communication. I will research that, but what I laid out above is what I really want. Employed Russian The 64-bit MinGW , based on (just released) gcc-4.4.0, is probably your best bet. (Since the mingw-w64

Memory leak in the Win64 Delphi RTL during thread shutdown?

你说的曾经没有我的故事 提交于 2019-12-03 03:03:20
问题 For a long time I’ve noticed that the Win64 version of my server application leak memory. While the Win32 version works fine with a relatively stable memory footprint, the memory used by the 64 bit version increases regularly – maybe 20Mb/day, without any apparent reason (Needless to say, FastMM4 did not report any memory leak for both of them). The source code is identical between the 32bit and the 64bit version. The application is built around the Indy TIdTCPServer component, it is a highly

ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI

让人想犯罪 __ 提交于 2019-12-02 21:44:28
The question is why I see the error message in the title when trying to import enchant. I am using Win64. I found the answer in this GitHub page . In a nutshell, they have not shipped a wheel for the win_amd64 platform yet. On Ubuntu, run sudo apt-get install libenchant1c2a Resolved: On Win7-64 I ran pip3 install pyenchant==1.6.6 which seems to be the latest version of PyEnchant that still shipped with Win-64 binaries. Newer versions did not install for me, but this one did. For amazon ubuntu instance use. yum install enchant and then pip install pyenchant For me, the problem I ran into was

Memory leak in the Win64 Delphi RTL during thread shutdown?

限于喜欢 提交于 2019-12-02 16:36:33
For a long time I’ve noticed that the Win64 version of my server application leak memory. While the Win32 version works fine with a relatively stable memory footprint, the memory used by the 64 bit version increases regularly – maybe 20Mb/day, without any apparent reason (Needless to say, FastMM4 did not report any memory leak for both of them). The source code is identical between the 32bit and the 64bit version. The application is built around the Indy TIdTCPServer component, it is a highly multithreaded server connected to a database that processes commands sent by other clients made with

SendInput Keys in Win32 & Win64 machines

大兔子大兔子 提交于 2019-12-02 06:09:12
I have used sendInput() under xp 32bits using webservices to push F5 of current focused windows. Now under Vista win64 i can´t obtain this result. Some articles point uint problems using 4bits or 8bits but this is not fixing the problem under vista with differential compilation and FieldOffset(4)or(8). Others speak about no more interaction beetween Vista screen and the window using this SendInput() method. Can someone point the solution to push F5 in win32 and win64 machines. Thanks. uint intReturn = 0; NativeWIN32.INPUT structInput; structInput = new NativeWIN32.INPUT(); structInput.type =

LVITEM for windows 64 bit

喜你入骨 提交于 2019-12-01 11:35:47
For a long time I tried to use the LVM_GETITEMW message with LVIF_TEXT mask to get the text of a ListView. My program worked in 32 bit but not in 64 bit architecture. I discovered that the problem was at the LVITEM struct. Shortly, my question is which struct is the appropriate one for 64 bit and why. The struct I used as the LVITEMW struct had the following fields: ('mask', c_uint32), ('iItem', c_int32), ('iSubItem', c_int32), ('state', c_uint32), ('stateMask', c_uint32), ('pszText', c_uint32), ('cchTextMax', c_int32), ('iImage', c_int32), ('lParam', c_uint64), ('iIndent', c_int32), (

Is there a limit to the Delphi Win64 debugger loading symbols?

て烟熏妆下的殇ゞ 提交于 2019-12-01 10:46:29
I'm using RAD Studio 10.2.3 Tokyo. Research Related to this question , and this issue I run into trouble when debugging my flagship application that extensively utilizes runtime BPLs as a plugin system. The problem occurs only when compiled and debugged as a Win64 application, and using Delphi's Win64 internal debugger. Delphi's Win32 internal debugger does not have this problem. When using "load all symbols" in the debugger options, I miss stack and local symbols info for some units but not other units in the same BPL (check screenshots). However, when I use the option to load debug info for