32bit-64bit

COM+: NotImplementedException

I'm trying to instaniate my own COM+ component (running as a library application) without success. All I get is a NotImplementedException when I try to create it dim myComponent As New MyComponent() The stack trace is not of much help: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr ...

How to be sure if a processor is 32bits or 64bits ? Are dual core processors 32 or 64 bits ?

Having a Macbook Pro with windows installed thanks to bootcamp, I have several questions: Under windows, I see that processes only use 50% maximum of the CPU charge, is that because the processor is a dual core and because the process is not multi-threaded ? Should I install windows xp version 64 bits instead, to have better performanc...

32bit program running on 64bit OS Memory Consumption

hi, We have a windows server 2008 R2 32G memory machine, this is obviously a 64bit OS. And we installed XAMPP 32bit version, with 32bit MySQL and PHP. Then we host an webmail system written in PHP on it. My question is : will those 32bit MySQL and 32bit PHP consume more than 4G memory of the OS ? Do We have to install 64bit MYSQL and PH...

How to use Java Runtime.exec() with Windows REG utility to Read/Update/Delete entries in HKEY_LOCAL_MACHINE\...\CurrentVersion\Run?

I want to use Runtime.exec() to update the registry for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run using the Windows REG command utility. Need to be able to add/remove/read an entry from the "Run" key to allow my Swing application to run at startup and check if it is configured to run at startup so I can mark the o...

How to build 32bit python 2.6 on 64bit Linux ?

Hi folks, I'm stuck for a full afternoon now trying to get python to build in 32bit mode. I run a 64bit Linux machine with openSUSE 11.3, I have the necessary -devel and -32bit packages installed to build applications in 32bit mode. The problem with the python build seems to be not in the make run itself, but in the afterwards run of s...

Force iexplore (from command line) to 32-bit mode

We have an online movie that displays full-screen. Instead of the now-standard flash-based fullscreen, which was not available when the movie was originally written, an ActiveX control is used to launch iexplore.exe in kiosk mode. A rewrite of the movie to fix this glaring problem is scheduled for Q1 next year. In the mean time, I nee...

Side Effects of Installing 32-bit Software Outside %windir%\Program Files (x86) on Windows 2008 R2

I have a 32-bit app that I need to install and test on a Windows 2008 R2 server. This app has some dependencies on 3rd party 32-bit software (Oracle 10g client and TCL runtime -- a large portion of the app is TCL scripts). This app also creates Windows services to run. The current version of the product requires that its binaries (.exes...

Can 32bit Lua bytecode work on a 64bit system?

Can a compiled Lua file (32bit *.luac file) work on a 64 Bit system? ...

transfering data from 32-bit machine to 64-bit machine or vice versa

data is transfered over IP from a 32-bit machine to a 64-bit machine (or vice versa). Since the data will be transfered in network byte order there will be no problem during the transfer. Question: Will there be any problem when the data reaches the receiving end? What should be taken care of to avoid any problems, if there are any? ...

Size of a C++ array in 64 vs 32 bit environment

Hi, suppose I have a class defined as follows class foo { char [10] bar; } How would the size of this class differ when in a 64 bit environment compared to a 32 bit one, assuming no padding/packing. I believe the 64 bit version of the class would be 4 more bytes in length since: The class must contain a char* in order to point ...

Debug 32 bit application with gdb in 64 bit environment

Hi all; Is there any specific step required to debug 32 bit application with 64 bit gdb under 64 bit O.S. Normally I use -m32 switch for gcc, is there something like for gdb? ...

launching correct installer for 32 and 64-bit apps

We have an application which, for various reasons, needs to be compiled as both a 32-bit and 64-bit app. The thing is, we want to distribute both setup files (msi) on a single CD. Is there a launch condition or autorun.inf entry that we can use to know which setup.exe to launch? Or do we need to write a separate little exe that gets c...

Using IMAGE_FILE_LARGE_ADDRESS_AWARE 32bit - 64bit

Hello! I learned yesterday that in DelphiXE using the compiler directive: {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE} you can access/use 4GB address space on 64bit computers even though DelphiXE compiler produces a 32bit code. I tried today DelphiXE program on 4GB machine with Windows7 and after starting the program I really get t...

Tables/pointers when using IMAGE_FILE_LARGE_ADDRESS_AWARE 32bit - 64bit

Hello! Lets me ask a very specific question: What is the difference (in memory usage) when you have a large array, or large list of the same size (implemented with pointers). e.g var a:array[1..1000000] of integer; and type po=^p1; p1=record v:integer; next:po; end; var p:po; and you create list with 1000000 integ...

smallest value of hash() function?

in python (3), what is the smallest value that hash(x) can return? i want to use hashes to give a quick 'fingerprint' to database values (basically making it easy to see whether two longish, similar texts are actually equal or not), and want to get rid of negative numbers (for simplicity), so i thought i'd just add the smallest possibl...

Why does Math.Exp give different results between 32-bit and 64-bit, with same input, same hardware

I am using .NET 2.0 with PlatformTarget x64 and x86. I am giving Math.Exp the same input number, and it returns different results in either platform. MSDN says you can't rely on a literal/parsed Double to represent the same number between platforms, but I think my use of Int64BitsToDouble below avoids this problem and guarantees the sa...

In windows,how do we identify whether a file is 64 bit or 32 bit?

In windows,how do we identify whether a file is 64 bit or 32 bit? ...

Recommended tools for porting 32-bit Windows driver to 64-bit one

I know that there are some static analysis tools which can figure out potential code problems in terms of porting from 32-bit system to 64-bit one. But most of them are commercial ones, is there any equivalent tool but free to use? Manually checking every line of the driver code is simply too tedious and error-prone, and if, unfortunate...

Is there a 64 bit TclPro ?

I am trying to install TclPro1.4 on 64 bit host. Here is what uname -a returns: Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I have installed TclPro1.4 from corresponding iso disk image (it is available by the link mentioned above), but it installed 32 bit libraries instead of 64 bi...

using 32 bit SQL server ODBC on 64 bit system

hi! Microsoft has a SQL server either as 32 bit or 64bit, however the 64bit contains both 32bit AND 64 bit. are there any MSI packages containing the 32 bit AND 64 bit version of the ODBC connector ? i.e. the install package decides by itself which version to install`? ...