Click here to Skip to main content
15,891,943 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 Title

64 bit 

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...
25 Nov 2011 by shefeekcm
Hi all,is it possible to execute a 64 bit application in 32 bit processor and vice versa.advance thanks to all
25 Nov 2011 by Not Active
You can't execute a 64 bit application in a 32 bit environment. Step back and think about it for at least a moment.
25 Nov 2011 by RaisKazi
Have a look at below link.http://windows.microsoft.com/en-IN/windows-vista/32-bit-and-64-bit-Windows-frequently-asked-questions
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...
19 Jun 2011 by Rimon Orni
Code injection cave for 64 bit processes
8 Feb 2012 by Member 7802059
During my sophomore project, we had to seek out a client and write a program that would satisfy their need. My client requested a print monitor. I wrote a nice little program utilizing the code found here:Monitor jobs in a printer queue (.NET)[^]It worked great. A year later, I recieve...
8 Feb 2012 by Christian Graus
I would try doing a 32 bit build. That way, it will run in 32 bit mode, which means that it should work the same on a 64 bit machine. I've had to do that in the past, in order to consume 32 bit dlls.
8 Feb 2012 by Richard MacCutchan
Since you used code based on a CodeProject article, it would be best to post your question in the forum at the end of the article, and discuss with the author.
8 Feb 2012 by Sergey Alexandrovich Kryukov
I would advice you load the page with the article you referenced above and click "New Message" in the "Comments and Discussion" section, below the article text. Ask your questions to the author. He will be notified via e-mail on your post and get a change to reply.—SA
8 Feb 2012 by Member 7802059
Thank you all for assisting me. And next time if I have trouble, I shall go to the author.Thanks again,Bake
1 May 2015 by Intel
64-bit Android and Android Run Time
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...
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.
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. ...
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...
12 Dec 2011 by akosidab
Hi,I would like to ask your opinion here in CodeProject.I would like to develop 32Bit Applications in Visual Studio 2008 using Windows7 64Bit OS. Would there be a problem if I'm going to deploy my application in a 32Bit OS?Thank you very muchRegards,David
12 Dec 2011 by AmitGajjar
Hi,just make sure Solution Platforms should be "Mixed Platforms".hope this will help you.thanks-amit.
20 Oct 2014 by Rion Williams
99 Problems and a Bit Ain’t One
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 Aug 2012 by Joezer BH
Hey all, I need a good hash function (for strings) that will produce the same hash value for a specific string on different platforms, My app invovles a server farm, and a "bank" server, Each server produces hash "keys" for strings and the bank stores the keys.The Servers may later...
26 Aug 2012 by Kenneth Haugland
How about the build in class in .NET:http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider.aspx[^]
16 Dec 2015 by Tim ONeil
INI-style properties for C++ Embedded/Applications on Linux
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.
8 Dec 2015 by JinWenQiang
An instance of Floodlight Controller
9 Jul 2022 by captnmac
A Tiger hash Implementation for C#, invocable through dotnet's HashAlgorithm class
13 Apr 2012 by tharre
Hello all, I've written a program that has worked well on 32 bit machines but, I have found that on W7 the application puts the driver in the wow5624 directory for the ODBC. I can access and find the data source but when I try to do a connect I get an error message something like, cannot find...
13 Apr 2012 by Kuldeep B
Hi Tharre...1)Download AccessDatabaseEngine_x64.exe fromhttp://www.microsoft.com/download/en/details.aspx?id=13255[^]2)Uninstall MS Office from your Machine.3)Install AccessDatabaseEngine_x64.exe.4)Install MS OfficeThen try your application.May this help you.Enjoy...
13 Apr 2012 by tharre
Hi Kuldeep,Guess I wasn't clear enough. The application that created an ODBC placed it's ODBC into the SysWOW64 directory. I have written code that can retreive the Data Source from the 64-bit registry but when I use the name it cannot find the source because the vb program seems to be...
16 Apr 2012 by tharre
Hello all,Well, I've run into a road block and could use some ideas. I built a program that looks at a SQL Anywhere database 9.0. It has worked fine under XP or windows 7 as long as the DB is in the 32bit ODBC directory. As the application that creates the database, not mine, puts it...
17 Apr 2012 by Maciej Los
Try to run: C:\Windows\SysWOW64\odbcad32.exe to register new DSN source. And use this DSN name building connection string ;)
16 Nov 2011 by vikky08
I have a vc++ project(suppose "driver")in WIN32.It have also a resource file(version).in 64bit machine The whole project is same except the name (Like "driverx64").Now the problem is In the version file project name is set to "driver".So when I build the project in 64bit the project name show...
16 Nov 2011 by Richard MacCutchan
Create a new empty project called "driver64".Add all the source files from the driver project to the appropriate folders (use right click, "Add existing").Build.
24 Aug 2011 by JasonSelf
I have an application that I am converting to work in a 64bit environment, this application was initially written to be 32bit. Unfortunately, AcroPDFlib seems to be throwing a 'Class Not Registered (0X80040154)' Error at me.This is a dll add-in to 64bit AutoCAD so my app must continue to be...
24 Aug 2011 by fjdiewornncalwe
According to this forum post, this is caused when a 32 bit version of the AcroPDFlib is used. As of the writing of that entry (which was quite a while ago) there wasn't a 64bit version available.http://forums.adobe.com/message/2391380[^]This one too:...
24 Aug 2011 by koolprasad2003
build/compile your code with target platform 'X86' and then try.
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
16 Jan 2012 by Shabana Parveen
Not sure why an application built in 32bit OS not working in 64 bit is for extended memory. Extra registers to provide more memory... Not quite sure about compatibility stuffOr may be file setting location is different due which issue has occured
17 Jan 2012 by Sergey Alexandrovich Kryukov
Just a note: extra registers will not provide you any more memory. You probably have no idea about registers. Where did you get this term "extended memory"? There is no such stuff on modern system, but it was their long time ago.You need to keep in mind that 1) you can never mix executables...
16 Dec 2017 by Kewin Rausch
A really tiny IPC mechanism which does not rely on any existing system call or API.
25 Aug 2011 by shreya1987
problem : I got following error while creating object of ReportDocument()An error occoured while attempting to load the crystal reports runtime.Either the crystal reports registry key permissions are suffcient or the crystal reports runtime is not installed correctlyenvironment :...
12 Nov 2011 by thatraja
Here you goEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly[^]An error has occurred while attempting to load the Crystal Reports runtime[^]Crystal Reports Runtime for VS on Windows 7 Throws an Error[^]
9 May 2014 by Nick R 336
I am compiling an application using Visual Studio 2010 64 bit compiler. It compiles without errors. The Debug version of the application runs fine. However the Release version crashes on start-up with the following 2 errors:Faulting application name: Router.exe, version: 1.0.0.1, time stamp:...
9 May 2014 by CPallini
Obligatory reference: Newcomer's "Surviving the Release Version" article[^].
22 Apr 2012 by jesusfan811
I make a lot of small programs in VB.Net. Of course, I have to declare variables. The way I declare "New" variables isPublic House As Building = New Building("live")Is that the same as this?Public House As New Building("live")If not, what's faster, does it matter, what is safer?Btw,...
22 Apr 2012 by VJ Reddy
Let us seeSub Main Dim House As Building = New Building("live") Dim House2 As New Building("live")End SubPublic class Building Public sub New (Name as string) end subEnd classThe IL generated for the above code isIL_0001: ldstr "live"IL_0006: newobj ...
22 Apr 2012 by Sergey Alexandrovich Kryukov
I don't think there can be any difference, but I don't know what was to ask about. I never install support of VB.NET projects with Visual Studio and lazy enough to test it with always available compiler via a command line, otherwise I would simply compile both cases, run compiled code through...
13 May 2013 by amsainju
I am stucked in a problem assigning a string, converted by using stringify, to a character pointer. It seemed that the character pointer(char * particleVS ) is taking only first 256 character of the string. My working in 64bit platform. Also the same code works fine for 32bit platform. I...
14 May 2013 by MuraliChagarlamudi
Have you tried with W2A & A2W convertion
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.
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...
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...
13 May 2013 by dinesh_redhawk
Hello All,I am unable to delete a particular registry key from Win 7 64 bit. The deletion command result is successful but when i go and check in registry, the entry exists.In Win7 32 bit and other OS, it runs fine-deletes successfully. The problem is in 64 bit OS.Below is the code...
12 May 2013 by Richard MacCutchan
Try it with this version of the delete[^], and catch any exceptions that are raised.
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...
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...
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...
3 Mar 2011 by IvyLi
I have C# windows application which calling C++ unmanaged dll function. this application is working fine at windows XP x86 environment. now i move this application to WIN7 64 bit environment. I complied c++ dll at x64, and build my C# application at x64 as well. when i run my application, I got...
3 Mar 2011 by Sergey Alexandrovich Kryukov
Chances are, you're trying to work with some Win32 executable, like a DLL. You cannot do it, and the problem is only manifested during run-time. For example, how do you know "SpotForwardSimDLL.dll" is not 32-bit?The components built as 64-bit and 32-bit work on a 64-bit systems in a...
9 Nov 2011 by Hardghost
Hello,I have a problem with calibration of the image from the webcam.I do motion detection and take de degrees for turning an eye (drawing in DirectX). I place my camera in a look down position. But it is possible that the camera don't look straight down.Now the problem is that the...
10 Nov 2011 by Manfred Rudolf Bihy
There is a great article here on CP that has the logic built in that you require: Realtime Webcam Sudoku Solver[^]. It's a great article by our fellow CPian Bojan Banko[^]. Look out for the step How to detect rotation.Cheers!—MRB
26 Apr 2010 by David21u2
Hi, I'm having some issues with the memory allocation... I work with BDS2006 but i'm considering to migrate to 64 bits OS...which version can I use... Builder 2010 maybe ?tks in advance
26 Apr 2010 by #realJSOP
I don't see why not. At the very most, you'd have to set compatibility on the executables associated with the compiler, but I doubt you'd even have to do that.I didn't even know Borland was still making compilers...
28 Apr 2010 by Gordon Brandly
The answer is the same as for your duplicate question: no version of C++Builder produces 64-bit code right now. Embarcadero does plan to add 64-bit capability to a future version, since it's been requested many times.
24 Dec 2011 by RedDk
As tags might or might not show up I'll include them here in the body of this plea:.NET, SQL Server, Windows 7, Office 2007, Windows Server 2008 R2 (64-bit)
24 Dec 2011 by Wendelius
If you mean how to configure the ODBC data source, see: http://support.microsoft.com/kb/942976[^]
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...
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...
21 Aug 2012 by prathameshpitale
Hello,I am using C#.net as my programming Language, I have OS windows 7 64 Bit, Oracle 10g.All works fine in Windows Forms Application, but when i try to connect crystal reports to Oracle 10g, I recieve error "CONNECTION NOT OPEN", I am connecting to oracle using Microsoft provider for...
21 Aug 2012 by Wendelius
If I recall correctly, Microsoft will not continue to develop (or support) the provider to Oracle. Because of this you should use ODP.NET which has both 32 and 64 bit versions.
6 Oct 2014 by Dev Leader
Are you excited to get your Myo armband from Thalmic Labs? If you're a C# developer, then check out this open source library to help you control your Myo! The post appeared first on http://www.DevLeader.ca.
11 Oct 2012 by fjdiewornncalwe
The simple reason is that you are trying to install an incompatible 32 bit application on a 64 bit Operating System. Get the 64 bit version of the program. If it is a legal version of licensed software, then the vendor should be able to help you out.
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.
11 Oct 2012 by ♥…ЯҠ…♥
Hi Friends,My friend download nfs run from internet for his system.I am always fond of nfs so i requested the same and try to install the same in my system.Actually my friend os is windows xp 32 bit it seems.But my os is windows 7 ultimate 64 bit. When i try to install it in my...
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 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...
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...
5 May 2014 by Nick R 336
Hello! I am looking for some help with run-time errors in C++ application converted to 64-bit. It worked fine in 32-bit for almost a decade. I compiled it using Visual Studio 2010 64-bit compiler. There are no compiler errors. The project compiles into a dll file, which is used by an executable...
6 May 2014 by Nick R 336
The second problem was resolved by declaring the two strings as global variables at the beginning of the function. For some strange reason, I can only start the app in Debug mode and not the Release executable.
11 Jul 2010 by Damy@chennai
Hi every one i have been using Process.MainModule.FileName to get the filename of all the running processes in a windowsXP32bit application. It was working fine. But the same 32-bit application crashed in 64-bit XP system giving the error as "Only part of a ReadProcessMemory or...
26 Aug 2012 by Thomas Daniels
Hi,I'm using Visual C# Express 2010.Is it possible to compile the project to a 64-bitapplication?Thanks for all help.
26 Aug 2012 by Mehdi Gholam
By default if you are building to "ANY CPU" then your EXE will execute in 64bit mode on a 64bit machine on .net .You can disable this and run in 32bit mode by setting the "Platform target" to x86 CPU in the project settings.
26 Aug 2012 by Valery Possoz
hello,On Vs 2010 C# edition the anyCpu and x64 settings are hidden by default you need to enable them first.Tool->Option then make sure the check box "show all settigns" is checked, then go to General and tick show advanced build configuration.Then using the solution explorer you can...
5 Aug 2013 by Ali kianinejad
HiI want to Create File With C++ code that i can just can be change (Read,Write,Delete,Rename,etc) from my programonly and only from my program
5 Aug 2013 by Status BreakPoint
Until your program exit, you can lock target file.So, other program can't access to the file.Check dwShareMode argument.CreateFile Function
5 Aug 2013 by ♥…ЯҠ…♥
Hi Ali,I think you want to create your own extension file which can be accessible only from your application am i right?Link1[^]Home this helps you better.Thanks for asking this question in here. :-)Thanks,RK
19 Apr 2010 by doubts.vc
Hi,I new to com.I have a com project where in the project settings the following values are given "configuration properties-->c/c++-->Preprocessor-->preprocessor definitions" _ATL_ATTRIBUTES "configuration properties-->Linker-->Embedded IDL-->merged IDL Base File name" ...
19 Apr 2010 by doubts.vc
Hi,As i dont have an IDL file in the project i dont get an MIDL tab .So its not possible to set any thing there. i tried the command line "/env win64" in "configuration properties-->Linker-->Embedded IDL-->MIDL commands".the file "_cfgcachecallback_p.c" is having the following comments...
19 Apr 2010 by Sauro Viti
Look at the Target environment under the MIDL property page on your project properties: the files you are talking about are generated by the MIDL compiler!
14 Jun 2010 by doubts.vc
Hi,The IDL files where using custom build.In the IDL files properties General -->Tools "custom build tool" was selected.And in the Custom Build Step -->Command line the mild command was given with some options. I had to do the platform specification here ie midl /amd64 /Oicf /h...
7 May 2010 by Dig-Somthing-New
I had the similar situation here when I port our application to x64 environment. What I did to fix it is to set Target Environment to x64 for all IDL files in the project except the same setting in the Project level. Then proxy stub code generated by MIDL comipler should target to...
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++!
24 Oct 2013 by lukeer
Hi experts,that solution I'm working on includes, besides others, a setup project and a class library that holds code for the setup's custom actions.SituationOne of the tasks of said library is to "pre-install" a customized FTDI USB driver[^]. It edits the registry value...
25 Oct 2013 by Sergey Alexandrovich Kryukov
As far as I was able to figure out, more or less recently, in this year, the Windows Installer itself is not capable of targeting Any CPU model. It's looks like it is not designed to cover this feature specific to .NET. So, in practice, you need to provide two or three MSIs for two or three...
25 Oct 2013 by Ian A Davidson
The problem is a known issue in Visual Studio:The setup project, even if you set it to be x64 only(!), always inserts the 32 bit version of InstallUtilLib.dll into the msi (we had the problem even when building the setup project on x64 machines!)InstallUtilLib.dll is used to run the C#...
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...
7 Nov 2011 by vikky08
I have a old vb6 project.Now I migrating it in vb.net on vs2008 and the solution plateform now I have to use 64bit.In the old code the variable hContext was declared as Integer. Dim hContext As IntegerAnd used asDim rc As IntegerdwScope = SCARD_SCOPE_USERrc =...
7 Nov 2011 by Mehdi Gholam
From the Microsoft API we see the following :LONG WINAPI SCardEstablishContext( __in DWORD dwScope, __in LPCVOID pvReserved1, __in LPCVOID pvReserved2, __out LPSCARDCONTEXT phContext);As you can see the return type is a long which is 8 bytes on 32bit and 64bit systems.