64-bit

64 bit division in ARM Assembly SOS

泪湿孤枕 提交于 2019-12-13 12:35:30
问题 I am calculating the average of sixteen 64 bit numbers added together and I think that I have done all the addition correctly, but now I need to figure out how to divide a 64 bit number by 16 and I am stuck! Any help would be great thank you so much. Here is my code so far. tableSize EQU 16 sum EQU 0x40000000 average EQU 0x40000008 MOV r8, #14 ADR r0, table LDR r9, =sum LDR r10,=average LDR r1, [r0], #1 ;hi #1 LDR r2, [r0], #1 ;lo #1 SUM SUB r8, r8, #1 LDR r3, [r0], #1 ;hi #2 LDR r4, [r0], #1

Runtime C# knowing if 32-bit or 64-bit version of COM Interface is being used

淺唱寂寞╮ 提交于 2019-12-13 12:29:02
问题 I want to build a DLL Class Library use COM Interop, with C#, target ANY CPU, and register it as 32-bit and 64-bit interfaces. I want to be able to, at runtime, display what interface was used - if I am using the 32-bit version, or 64-bit version. Any ideas? 回答1: In order for a process to load a 32-bit DLL, the process has to be 32-bit. And same for 64-bit. So to find out what has been loaded, assuming it has already worked, you just need to find out the bit-ness of the CLR: if (System.IntPtr

Portability of SQL Server applications between 32 and 64 bit versions of SQL Server?

巧了我就是萌 提交于 2019-12-13 12:11:08
问题 I have an application that is currently running against a 32-bit SQL Server 2005 Standard Edition database. For reasons I won't go into here, I need to move the database to a 64-bit SQL Server 2005 Standard edition running on 64-Bit Windows Server 2003 R2 Datacenter. Are there any migration issues I should be aware of in the Application code, stored procedures, or SQL configuration? That is, is the functionality equivalent on both platforms? If there are functional differences, could you post

Solaris 64 bit function pointer problem

牧云@^-^@ 提交于 2019-12-13 07:29:56
问题 Environment: OS: Sun Solaris 10 Processor: AMD 64 bit I have an application which uses net-snmp library. The application is portable (code level) to various OS and processor. In net-snmp, you can register a logging callback (a function pointer) which gets called when something is to be logged. The problem is that when I run the application, it seg faults when net-snmp tries to call the callback function I have registered. The callback address that gets registered is 0xffe30b90 but net-snmp

Bitness issue (32bit vs 64bit)

我们两清 提交于 2019-12-13 06:00:34
问题 I'm having issue running my application locally because of the bitness problem. However, if I deploy it to the server and set the application pool 64bit then it works fine. I need this to work local so I can debug the project. I'm hoping someone could help me. These are the things I have checked so far: use corflag to make sure the dll is in 64bit make sure the prefer 32bit is not checked make sure the target platform is set to 64 bit in my main project and the dependent project I'm running

ReadFileEx, variable length - a few questions

假如想象 提交于 2019-12-13 05:04:43
问题 I'm trying to read from stderr of a child process. The data is lines of text created with sprintf(stderr, "some debug info\n") . I'm using ReadFileE x with a completion routine. I don't know how many lines of text or how long each line will be. So, what do I put as the nNumberOfBytesToRead parameter? My guess is I put the max size of my buffer, which I will make 4k; although I don't know if that's an optimal size. I'm guessing that if the line written to stderr is shorter than 4k, the

launching procdump from a 64-bit service doesn't work when running as Local Service or Local System

一曲冷凌霜 提交于 2019-12-13 04:28:50
问题 Also posted at: http://forum.sysinternals.com/problem-launching-procdump-from-a-64bit-service_topic27425.html We can potentially run multiple services with the same executable at a customer site. We have added a setting to our program "Enable procdump" and instruct customers to download procdump and put it in our bin directory. If the setting is on, we launch procdump when our service starts up (specifying the process id). The problem is: When running as "Local Service" or "Local System"

Powershell script from Visual Studio Post-build-event failing

末鹿安然 提交于 2019-12-13 04:03:29
问题 Running a powershell script as a post-build event in Visual Studio fails despite the fact that that same script runs fine from the commandline. Why is this? 回答1: Answering my own question just to save others the pain of researching this. Well http://www.vistax64.com/powershell/205436-running-powershell-post-build-event-ignoring-executionpolicy.html suggests that despite Visual Studio being 32 bit, it runs the 64 bit version of powershell which is independent. The reality seems that Visual

Why does Visual Studio not link correctly as a matlab mex file against the rundll?

£可爱£侵袭症+ 提交于 2019-12-13 03:58:57
问题 I have the following problem: I have a 64 bit version of matlab 2011b. I need to call some functions from a DLL. This has been working some time ago with the prof version of visual studio 2010. Now I want to get it running with the express version. I therefore installed the visual Studio C++ 2010 Express and the Win SDK 7.1. Now I give matlab the command mex -setup and select the VC++ compiler. All right! If I want to load the dll itself with loadlibrary , I get tons of errors. Something like

OpenCV 2.4 error 0xc0000005 in Windows 7 64 bit

浪子不回头ぞ 提交于 2019-12-13 03:50:44
问题 I am using CodeBlocks in my windows 7 64 bit and I use MinGw for my default c/c++ compiler. Few days ago I need to use OpenCV, after I struggle a lot of error, I get unsolveable error like this : The sample code: #include "cv.h" #include "highgui.h" int main( int argc, char** argv ) { IplImage* img = cvLoadImage( argv[1] ); cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE ); cvShowImage( "Example1", img ); cvWaitKey(0); cvReleaseImage( &img ); cvDestroyWindow( "Example1" ); } I believe my linked