Click here to Skip to main content
15,901,426 members
Everything / 64 bit

64 bit

64-bit

Great Reads

by Dr. Song Li
This is a note on how compilers implement function calls to pass the parameters to and get the return value from the called functions.
by The Ænema
Inject your 4.5 framework .NET application into a C++ unmanaged host application - fast, secure & without any extra tool or library.
by Gregory Morse
UTM based on mov is Turing-complete paper x86 and x86-64
by stevemk14ebr
PolyHook v2 - the C++17 x86/x64 library supporting multiple methods of hooking

Latest Articles

by Dr. Song Li
This is a note on how compilers implement function calls to pass the parameters to and get the return value from the called functions.
by Michael Chourdakis
Use your sensors for identification and verification
by captnmac
A Tiger hash Implementation for C#, invocable through dotnet's HashAlgorithm class
by Michael Chourdakis
Try deep CPU features

All Articles

Sort by Updated

64 bit 

28 Jun 2023 by Dr. Song Li
This is a note on how compilers implement function calls to pass the parameters to and get the return value from the called functions.
18 Jun 2023 by Michael Chourdakis
Use your sensors for identification and verification
24 Sep 2022 by DoingWork
Dear Fellows How to check .net 6.x.x version installed or not by Registry ? for both x86 and 64 bit OS. What I have tried: I found 2 registry values by google but their exists multiple on different PCs. So I want to handle all registry keys...
24 Sep 2022 by RickZeeland
The registry location seems to change per update as a user commented here: Correct approach to Check for .NET 6 installation - Microsoft Q&A[^] Quote: ...
24 Sep 2022 by Gerry Schmitz
Quote: The version of .NET Framework (4.5 and later) installed on a machine is listed in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full. If the Full subkey is missing, then .NET Framework 4.5 or above isn't...
9 Jul 2022 by captnmac
A Tiger hash Implementation for C#, invocable through dotnet's HashAlgorithm class
1 Jul 2022 by Michael Chourdakis
Try deep CPU features
11 Apr 2022 by AdventureDriver
Creating a optionally sheared mirrored image from a source image in a collage
13 Nov 2021 by The Ænema
This article brings you a very detailed but easy to learn experience on creating your own x64 PE packer/protector using only VC++!
9 May 2021 by Seraph_summer
before, I run a visual studio express 2008 version on 32bit, now I move it to 64bit, and it gives the following error:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machinesomeone says that OLEDB 4 is not supported or compatible with 64bit.then someones suggests...
9 May 2021 by KK shah
ENABLE 32 BIT TO TRUE IN APPLICATION POOL WILL DO..
5 Apr 2021 by Chopin2001
Hi. I mainly code with vs code on Windows for C/C++. When the code that runs completely in this environment moved to Linux, I noticed that the datatypes were of different sizes. These are structs, bitwise operators, and primitive data types. I'm...
5 Apr 2021 by k5054
Further to what Richard and Greg have said, there are a couple of other things that you can look into. GCC has a -mms-bitfields compiler flag that aligns bitfields in the same order as Microsoft VSCC, and #pragma ms_struct on to provides the...
5 Apr 2021 by Chopin2001
After I posted this question, I looked again at the C PRIMER PLUS book. In this book, C is said to have the same size as an unsigned int(32), even if it is a single 1-bit structure.
5 Apr 2021 by Greg Utas
Richard's guess is a good one. Further to that, the size of uint_fast16_t can vary from platform to platform, depending on what size is fastest to fetch on each.
22 Feb 2021 by mohammad hasani
Hello, I'm adding Panasonic IP Camera SDK to my project but it is 32bit. I need a 64bit SDK. Is there any way to convert 32bit DLL files to 64bit DLL or use 32bit DLL with 64bit C# application? What I have tried: I've tried dotpeek and...
22 Feb 2021 by RickZeeland
If possible create a separate 32 bits application that uses the 32 bit dll and call that using Process.Start()[^] from your 64 bits application. There are other ways like using named pipes for inter-process communincation, but they are quite...
22 Feb 2021 by Richard Deeming
No. You would need to get the original source code (and permission to modify it), fix any issues which would prevent it from working in a 64-bit process, and recompile it as a 64-bit library. If the library depends on other 32-bit libraries or...
18 Nov 2020 by DoingWork
Dear Friends My Main application is 32-bit application. It is limitation due to some third party DLLs that I can't convert it to 64-bit. Now I have created a new 64-bit library project and compilation is successful but on application startup it...
18 Nov 2020 by RickZeeland
Here is a possible solution: How do I use 32-bit dll in 64-bit app?[^] But it does not look very robust to me, another option might be to split your application in a 32 part (with all the legacy dll's) and a 64 bit part and let them communicate...
17 Nov 2020 by TheRealSteveJudge
Please have a look here: Process Interoperability - Win32 apps | Microsoft Docs[^] There it is said: On 64-bit Windows, a 64-bit process cannot load a 32-bit dynamic-link library (DLL). Additionally, a 32-bit process cannot load a 64-bit DLL. ...
17 Nov 2020 by Richard Deeming
You can't load a 64-bit library in a 32-bit process, or a 32-bit library in a 64-bit process.
26 Jul 2020 by ekograce
Hi All, I have recently updated my winform desktop application from framework 4.0 to 4.6.1. I have been using microsoft.windowsapicodepack.taskdialog for most of my pop up messagebox. It is no longer working in 4.6.1. I have got the...
26 Jul 2020 by Sandeep Mewara
Try using the newer version of WindowsAPICodePack and that should help solve your issue. New WindowsAPICodePack that supports .NET framework v4.6.1: NuGet Gallery | Microsoft-WindowsAPICodePack-Core 1.1.4[^] Try out!
13 Jul 2020 by ilostmyid2
Hi We know that 32-bit exe files can't run 64-bit dll's (call their functions) and vice versa. We know that a 32-bit package (MSI Windows Installer) may be installed on a 32-bit Windows and a 64-bit Windows, while a 64-bit MSI package may be...
25 Jun 2020 by Member 13798855
typedef struct _tagStrRec { short nSym; // string numeric ID short nSec; // area numeric ID short nLen; // string len long lSeek; // seek position within the file } PSTRTBL, FAR* LPPSTRTBL; PSTRTBL strTbl; strTbl.nSym...
25 Jun 2020 by Rick York
You should be using a type of INT_PTR for lInd. It is automatically adjusted for the word size you use. The long type is still 32-bits in the 64-bit world so it is not appropriate for dealing with 64-bit pointers. Also, since Win32 was first...
25 Jun 2020 by steveb
long is 32 bit number in both 32 bit and 64 bit architectures. Pointer notation is 64 bit long on 64 bit system. Your answers should be totally random due to long overflow as far as your code shows. You truncating 64 bit address by casting it...
25 Jun 2020 by Patrice T
Quote: Could you please let me know the issue. May be the issue is in your expectations about how and where structures get allocated in memory. No doubt that there are differences between 32 bits and 64 bits. long lInd = (long)(pStrTbl) -...
25 Jun 2020 by KarstenK
Computing the difference between two instances (here pointer and addresses) isnt uswful because it depend how and when the are allocated. Comparing the dats is done in this manner:long seeked = pStrTbl1->lSeek - pStrTbl->lSeek;
25 Jun 2020 by OriginalGriff
HandleToLong takes a Handle and returns a long value the handle references. You are passing a memory address (which may be on the stack, maybe not - depends on your code) and expecting ... I don't know what. A Handle may be a pointer - it's...
24 Jun 2020 by Richard MacCutchan
I get a different answer but it is not clear exactly what you are trying to do. You have two pre-allocated structures strTbl and strTbl1. You set some values into those structures. You then create pointers to the two structures and set some...
17 Jun 2020 by Richard MacCutchan
See Unity - Scripting API: Application.productName[^]
17 Jun 2020 by G44Gonzalo [ G44 YT ]
I have an executable, and I can't do this through code. I want to inject a little conditional when running the file. This will prevent people of changing the name of the executable. It would be like: If this.filename != "RightName" then STOP...
16 Jun 2020 by honey the codewitch
I used to do this some time ago to support an aspect oriented framework over the top of COM and automation. I eventually abandoned the effort even though it worked. There are several problems with this approach. It will flag most virus...
16 Jun 2020 by MadMyche
When all is said and done; you cannot. The only real way to do this would be within the code of the actual application. While you could wrap the executable inside of another package, but then you could also subvert that by calling the file...
19 Nov 2019 by Richard Deeming
You haven't given us much to go on, but gazing into my crystal ball, I suspect you're trying to use Office Interop to manipulate Microsoft Office documents on the server, and Microsoft Office is not installed. Read the following Microsoft knowledgebase article: Considerations for server-side...
19 Nov 2019 by Ramana RK
Hi Team, I have deployed my dotnet application in 64bit windows server. When i try to run my application i am getting below error. Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Please help me to resolve this issue. Thanks in advance. Thanks, Ramana What...
18 Nov 2019 by RickZeeland
It's probably a COM object error, see answers here: "Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"[^] When using 64-bit COM components on IIS, make sure the application pool is set to not allow 32 bit applications (Enable 32-Bit Applications: false in...
6 Feb 2019 by Richard Deeming
I already gave you the answer to that question two weeks ago! Need help with VB.NET code with dotnet 2.0 framework only[^]: How to read the 64 bit registry from a 32 bit application or vice versa | Rhyous[^] EDIT: VB.NET translation of the code from example 2: Imports System Imports...
4 Nov 2018 by Michael Chourdakis
A ready to be used hotpatching library with five methods!
24 Jul 2018 by stevemk14ebr
PolyHook v2 - the C++17 x86/x64 library supporting multiple methods of hooking
14 Apr 2018 by Andy Galluzzi
Join me to create the most advanced yet most simple to use full duplex MMF based IPC for Windows
27 Mar 2018 by Member 13750892
The best solution is install 64 bit software at 64 bit and 32 bit software at 32 bit windows.
25 Mar 2018 by The Ænema
Inject your 4.5 framework .NET application into a C++ unmanaged host application - fast, secure & without any extra tool or library.
20 Jan 2018 by PrafullaVedante
Hi, I want to pass a HANDLE to the function. What the data types should be using. In the C++, I can use uintptr_t which will work for both win32 and x64. What data type should be used in the IDL? What I have tried: Tried using unsigned int data type in the IDL. It does work for win32. ...
20 Jan 2018 by KarstenK
Use the biggest native data type, so some native 64-bit data as long long should fit. A handle is some a system resource managed by the operating system, so be careful with tem. A handle is NOT (REALLY NOT) a pointer. It can be, but never assume it. Always use system functions and NEVER...
11 Jan 2018 by Allister Beharry
.NET SIMD programs using the Vector types show performance comparable to Intel ISPC and open source C++ SIMD libraries while satisfying the same goal of SIMD developer productivity in a high-level language.
2 Jan 2018 by Pat Dooley
This project solves the Pentominoes problem that fascinated famous Science Fiction Author Arthur C. Clarke.
16 Dec 2017 by Kewin Rausch
A really tiny IPC mechanism which does not rely on any existing system call or API.
10 Nov 2017 by Member 12117439
'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. I am getting this in visual studio only after upgrading from 32bit office 2013 to 64bit office 16. I have already installed the 64bit database engine and my published project from IIS is working with the existing access...
4 Sep 2017 by Bohdan Stupak
The tip explains Windows registry redirection feature with a simple example
8 Jul 2017 by Roman Nazarenko
Assembler time
3 Jul 2017 by zapsolution
Windows 10 multimedia player 64-bit
23 May 2017 by User1454
Hi all, I have a c++ dll and a .net core console application which invokes the c++ library and works fine in windows platform. But now I need to do the same in linux platform. Please help how to invoke the dll in .net core to run in linux platform. Thanks What I have tried: ...
4 May 2017 by frostcox
Hey Guys, I have a really confusing problem which I can't get to the bottom of.I have developed a windows forms application which when I run locally i.e through visual studio it runs perfectly without any issues but when I deploy it to the end user's machine I get the below...
28 Mar 2017 by Kristoffer Blasiak
Automated proxy DLL generation with 64 and 32 bit DLL support
5 Feb 2017 by Gregory Morse
UTM based on mov is Turing-complete paper x86 and x86-64
9 Dec 2016 by Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
28 May 2016 by Member 12549784
Hello everyone,I work with vs2013 + OpenGL.The program is a MFC dialog project. In the main dialog, a custom control and a copy button are laid. When this program is executed, a graph is drawn with OpenGL in the custom control. When the copy button is clicked, the graph is copied into the...
17 May 2016 by stevemk14ebr
A modern, universal, c++ hooking library.
23 Apr 2016 by Prasoon Madnawat
This articles describes how to write a caching solution using Redis on .NET platform.
15 Mar 2016 by Jackie Lloyd
Sorry to everyone for being vague and not explaining enough. The application now runs without running out of memory because we reduced the amount of data that is stored in the application's memory. When a user requests to view some data it is regenerated from the starting values rather than...
8 Mar 2016 by Durga_Devi
Hi ,I am using window 7 64 bit and 64 bit device driver,When i am trying to use the function DeviceIoControl(), the output buffer is always empty but the number of bytes returned is 4. The exact syntax is given belowDeviceIoControl(m_device, IOCTL_USER_BUFFER, NULL, 0, ...
1 Mar 2016 by dartfrog
My x64 Outlook Addin got some problem when loading java applet. In My Outlook AddIn, I use webBrowerControl to load java applet. I tested in windows7 x64 and MS Outlook 2010 x64. There is no issue at all. But the problem is started when I went to customer side and install. When webBrowsercontrol...
1 Mar 2016 by dartfrog
Conflict with some addIn that encrypt the email, now working after unloading this mail encrypt addIn.
29 Dec 2015 by Zain Nisar
How to create Web Scrapper using Node.js ?
20 Dec 2015 by JinWenQiang
How to capture and process packages using Java language
16 Dec 2015 by Tim ONeil
INI-style properties for C++ Embedded/Applications on Linux
8 Dec 2015 by JinWenQiang
An instance of Floodlight Controller
9 Nov 2015 by Member 12121484
HeyI'm having EMGU.CV.Invoke Exception , I'm on windows 8.1 (x64) and on visual studio 2012. Emgu cv version is latest one 3.xxx.I'm adding all required .dlls but still facing the problem. I've added Emgu.CV.dll , Emgu.CV.UI.dll & Emgu.CV.Util.dll moreover i've included cvextern.dll...
1 Nov 2015 by John Torjo
Meet the Log Viewer that makes monitoring log files a joy!
17 Aug 2015 by CPallini
As far as I know, HRESULT and LRESULT are different on a 64-bit system (LRESULT being wider). You have to use LRESULT in your message handler.You may test yourself, tryASSERT(sizeof(HRESULT) == sizeof(LRESULT));on both configurations (after removing your message handler from the 64...
17 Aug 2015 by Maximilien
(using Visual Studio 2012, same behaviour with VS2015)I wanted to do a simple 64 bit MFC dialog application with a simple WM_MESSAGE handler.This is what I did.1. Open VS20122. Create new MFC dialog based application. (default is 32bit)3. Add my message handler code (WM_MESSAGE...
10 Aug 2015 by hevesir
2 Aug 2015 by migurazi
I write vc++ code with flash.I want to hooking flash because mouse right button operation and flash's transparent.In my code, use flash32*.ocx or flash64*.ocx (Active-X) reference code :1. 플래시콘 컨트롤 (FlashconAxWindow) | 마을 :: 컨텐츠 상세보기 (korean. sorry^^)2. Another new thunk...
1 Jun 2015 by Android on Intel
This article will introduce Android on Intel® 64-bit architecture and discuss its unique compatibilities, including technical details, performance gains, problem statements, and available solutions for Android on Intel® Atom™ processor-based platforms.
4 May 2015 by Sergey Alexandrovich Kryukov
You did not try x86-64 and Itanium. Try them. If it does not work, the conclusion will be the "error" is not related to the target platform. You are doing wrong things in principle: trying where you should know exactly what to do.—SA
4 May 2015 by shiva2239
Retrieving the com class factory for component with clsid failed due to the following error: 80040154 (in vs2010 and 64bit OS)I have tried with both platform targets 'x86' and 'Any CPU' but still I am getting same error in my windows application in VS2010 and 64 bit Operating...
1 May 2015 by Intel
64-bit Android and Android Run Time
8 Mar 2015 by Sergey Alexandrovich Kryukov
FranxCDOFranx wrote:Hey Sergey, if you are referring to me yes I didn't not understand as I am a beginner in this field. I am trying to debug and find the reason for the wrong multiplication. If you want to be more specific to the problem as to how I should debug and fix the algorithm please...
8 Mar 2015 by FranxCDO
As phil.o and Sergey Alexandrovich Kryukov state above, the problem was with the representation of the numbers. The below code works.#include #include #include #include #define LOW_WORD(x) (((x) > 16) #define HIGH_WORD(x) ((x) >>...
8 Mar 2015 by FranxCDO
I am trying two multiply to matrices in C and I cant understand why I get these results...(I am trying write a program that multiplies two 32 bits numbers to be imported on a system that has only 32 bit registers)B = [ 15643 54056 -33591 24466 26823 54561 58751 ...
7 Jan 2015 by KaushalJB
Trying to install PowerPoint Add-in on client machine having 64 bit Windows 8.1, through one click install gives following errorCould not load file or assembly 'Microsoft.Office.BusinessApplications.Fba, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its...
5 Jan 2015 by CHill60
There are several links listed in the solutions to this CP post Getting Hard Disk Speed[^]
5 Jan 2015 by Igor-84
I need to get hard disk drive ATA properties such as:- interface type (SATA-II) (importantly)- rotation speed (RPM)- form-factor- etc.I try to use WMI with "Win32_DiskDrive class", but unfortunately it does not provide required information.Please explain me, what functions I...
2 Jan 2015 by MasterCodeon
hello everyone!i downloaded the source code for this article(i am trying to implement a global system hook in my app) but when i try to compile it VS2010(I am using Visual Studio 2010 Premium) gives me an error(for the C++ part of it) of:Error 1 error LNK1123: failure during conversion to...
2 Jan 2015 by OriginalGriff
Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.Posting this here relies on them "dropping by" and...
1 Jan 2015 by Dave Kreskowiak
You cannot write an application to unlock the console. There is no API function you can call to do this. This is for security reasons.Also, you cannot log keystrokes while the desktop is locked. This is because your application is running under one desktop (the users) and the lock screen is...
31 Dec 2014 by MasterCodeon
Hello everyone!i am wondering how would i go about unlocking(not locking) my computer using windows credentials.i have read that i would need to run some sort of service to do this.how would i do so?i know this is a pretty vague question but i have searched all over CP but haven't really...
26 Dec 2014 by BillWoodruff
Getting ready to traverse the Text contents of the RichTextBox word-by-word:private Color HighLightForeColor = Color.Yellow; // your foreground color hereprivate Color HighLightBackColor = Color.Navy; // your background color here// the previous Selection Colorsprivate Color...
25 Dec 2014 by MasterCodeon
Hello Everyone!i need to know how to unhighlight text in a Rich Text Box.heres what i have so far://This Selects The TextTB.Select(ThreadOperation.CharPos,ThreadOperation.TextCurrentlySpeaking.Length);//This Sets The Select Texts Highlight Color To The System Highlight...
19 Dec 2014 by PIEBALDconsult
Supposedly ANSI escape sequences should still work on Windows, but I haven't gotten it to work.http://forum.codecall.net/topic/59142-how-to-clear-the-console-screen-with-ansi-any-language/[^]P.S.From some of my old C code (circa 1995), for working with a VT100-compatible dumb...
19 Dec 2014 by MasterCodeon
Hello Everyone!I don't know if anyone knows how to do this, or even if this is the right place to ask this. But how would one clear the output console using the print() function in python?I haven't the slightest clue how where to start with this question, but i do have the complete python...
19 Dec 2014 by Thomas Daniels
Instead of using print(), it might be easier to use a system call (though apparently, using print is possible, see PIEBALDconsult's answer). To execute a system call, use os.system.import osos.system('cls')cls is Windows-only. If you use Linux or Mac OS, use clear instead.How does...
18 Dec 2014 by MasterCodeon
Hello i am trying to implement a global system hook into my app(its to monitor keyboard input system wide, and to just experiment with hooking).i am following this article: Using Window Messages to Implement Global System Hooks in C#[^]now my problem is that when i run the sample application...
18 Dec 2014 by BillWoodruff
I hope this response will help you along the way, although I can't promise you it will address the problem.First, some general advice about re-using code from CodeProject articles:1. first download the author's sample demo (if the article has one), and source code; confirm the sample...
20 Oct 2014 by Rion Williams
99 Problems and a Bit Ain’t One