32-bit

Class not registered Error

我是研究僧i 提交于 2020-01-09 07:08:13
问题 Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I am using Inventor packandgo dll library in visualstudio. Anyone know what is the error? 回答1: My problem and the solution I have a 32 bit third party dll which I have

os x 32-bit printf from assembler

落爺英雄遲暮 提交于 2020-01-06 20:14:34
问题 I'm back again - thanks to the kind folks here, especially @Jester and @PeterCordes, I have three out of my four target platforms working. I have Win 32 and Win 64 working, and I have OS X 64 working, but I can't seem to make OS X assembly work in 32-bit using the libc library. I can do a "hello world" and other things using syscall (64-bit) and int 0x80 (32-bit), and I can make _printf work in 64-bit, but I can't manage to make it work in 32-bit. In theory, I need to push the parameters onto

How to cross-compile 64bit DLL with VS 2005 on 32bit computer?

十年热恋 提交于 2020-01-06 03:31:47
问题 Using Visual Studio 2005, I wrote a simple DLL in C that uses the Windows API to send UDP datagrams and that is hooked into a third-party program. On a 64 bit machine, it does not work at all, as the third-party code was compiled for 64 bit in this case. So I need to ship two versions of the same DLL - one for 32 bit, one for 64 bit. However, I did not manage to get Visual Studio (running on a 32 bit machine) to spit out a DLL that is not identical to the 32 bit version - it seems the

Can we connect a 32 bit Oracle server from a 64 bit client and vice a versa?

房东的猫 提交于 2020-01-03 16:54:45
问题 Is it possible to connect a 32 bit Oracle server from a 64 bit client? What about the opposite case? 回答1: Yes you can do that, there's no limitation regarding that (64-bit, 32-bit). Reference: Oracle 207303.1 (original link, requires login) 来源: https://stackoverflow.com/questions/8813248/can-we-connect-a-32-bit-oracle-server-from-a-64-bit-client-and-vice-a-versa

PHP json_decode on a 32bit server

你。 提交于 2020-01-01 05:18:09
问题 im writting a twitter mashup service. When i receive the json data, some of the twit ids are greater than 2147483647 (which is the maximum allowed integer on 32bit servers). I came up with a solution that works, which is converting the integers to strings; that way the json_decode() function won't have any problems when trying to generate the array. This is what i need to achieve: Before (original JSON data) [{"name":"john","id":5932725006},{"name":"max","id":4953467146}] After (solution

fwrite() more than 2 GiB? [duplicate]

巧了我就是萌 提交于 2020-01-01 03:21:10
问题 This question already has answers here : Is fopen() limited by the filesystem? (4 answers) Closed 6 years ago . I have a set of files that I want to concatenate (each represents a part from a multi-part download). Each splitted file is about 250MiB in size, and I have a variable number of them. My concatenation logic is straight-forward: if (is_resource($handle = fopen($output, 'xb')) === true) { foreach ($parts as $part) { if (is_resource($part = fopen($part, 'rb')) === true) { while (feof(

Can I make a 32-bit program with cx_Freeze if I have a 64-bit OS?

痞子三分冷 提交于 2019-12-30 06:04:11
问题 I am currently running Windows 7 Home 64-bit and am working on a program that I would like to make available for both 32-bit and 64-bit Windows operating systems. When I use cx_Freeze to turn my .py to a .exe, it only allows it to be installed on 64-bit operating systems. Would I need to buy a 32-bit computer to convert it to a 32-bit program or are there a special set of commands I can use to make cx_Freeze create both a 32-bit and a 64-bit exe? from cx_Freeze import * import sys base = None

SetupDiCallClassInstaller throws ERROR_IN_WOW64 when compiled for 32 bit on a 64 bit machine.

放肆的年华 提交于 2019-12-29 08:59:08
问题 Calling SetupDiCallClassInstaller on a 64 bit machine when compiled for 32 bit returns false. GetLastError() == ERROR_IN_WOW64 All the other function calls work fine under 32bit, just this one is giving me problems. I'm wondering if anyone knows what I am doing wrong here. 回答1: As Hans Passant pointed as a comment to the question, you cannot call that function from a 32-bit process on a 64-bit Windows platform. When you try to do so anyway, you get an ERROR_IN_WOW64. The reason why you can't

Will a Visual Basic 6 program run on a 64-bit machine?

核能气质少年 提交于 2019-12-29 07:35:17
问题 I have a program built with VB6 and using some 32-bit DLL's. Will this program run on a 64-bit machine? This page suggests that it should run fine on the Windows on Windows layer, but what about the DLL's? 回答1: Yes , both the VB 6 program and the DLLs will work just fine on a 64-bit version of Windows. Since both are 32-bit, they will run under the Windows-on-Windows 64 (WoW64) subsystem, which effectively emulates a 32-bit operating system on the 64-bit versions of Windows. I've run many

Apple's gcc, what's the difference between -arch i386 and -m32?

↘锁芯ラ 提交于 2019-12-29 06:48:08
问题 According to Apple's gcc 4.2.1 doc: -arch arch Compile for the specified target architecture arch. The allowable values are 'i386', 'x86_64', 'ppc' and 'ppc64'. Multiple options work, and direct the compiler to produce “universal” binaries including object code for each architecture specified with -arch. This option only works if assembler and libraries are available for each architecture specified. (APPLE ONLY) So what's the difference between these two calls: gcc -arch i386 program.c and