64-bit

Is it possible to load a 64-bit dll into a 32-bit process?

≡放荡痞女 提交于 2019-12-25 03:37:12
问题 Is it possible to load a 64-bit dll into a 32-bit process ? Generally speaking, I know it can not happen. Yet, maybe there are some exceptions ? 回答1: No, and neither a 64-bit process can load a 32-bit DLL. If you're on a 64 bit OS, you can load the DLL in a 64-bit process and have it communicate with your 32-bit process through IPC. If you're on a 32 bit OS, you're out of luck. 回答2: But new computer bought today at least have 4G ram. We cannot prevent using 64-bit OS to avoid problem. We must

Visual Studio Configuration Manager x64 only option

亡梦爱人 提交于 2019-12-25 03:08:59
问题 I seem to have completely the *emphasized text*opposite*emphasized text* problem to everyone else... I'm trying to have my program (C++/CLI - Visual Studio 2010) run on any machine - but it's only working on 64 bit machines... I checked my Configuration Manager and when I try and choose a new platform, "x64" is the only one that exists? There is no other option - and I'm a bit stuck for ideas :( 回答1: In the configuration manager, for each project it lists the Platform (x86, x64, etc.). Just

Xcode Mach-O Linker errors with 64-bit simulator

倾然丶 夕夏残阳落幕 提交于 2019-12-25 03:05:07
问题 I have been developing an iOS app in Xcode. It compiled and ran perfectly in the regular simulator, but when I switched the simulator device to 64-bit, it failed with 13 new warnings and 37 new errors, all of which are associated (I think) with an external library I'm using called ObjectiveDDP (https://github.com/boundsj/ObjectiveDDP). People had similar problems, but my understanding is they were supposedly fixed in a recently-released update to the framework, but on my end this update is to

Filenotfound exception while opening an SPSite object - x64

烈酒焚心 提交于 2019-12-25 01:44:14
问题 I've created a simple asp.net application to open a site and display the title of the corresponding web. But i'm getting FileNotFoundException while trying to open the site. The same code works perfectly when i run it in a console app. My spec Windows Server 2008 R2 x64, SharePoint 2007 x64, Visual Studio 2005 My target for the asp.net app is set to 'Any CPU'. As far as permissions is considered i've checked that the current identity using under which VS2005 hosts the asp.net app is having

How do I compile a 32 bit apache module for a 64 bit platform?

假如想象 提交于 2019-12-25 01:34:47
问题 I am trying to comple mod_auth_kerb for apache on mac os x 10.5.7. I get no compilation errors, but when apache tries to load it: org.apache.httpd[95092]: httpd: Syntax error on line 160 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_auth_kerb.so into server: dlopen(/usr/libexec/apache2/mod_auth_kerb.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/mod_auth_kerb.so: mach-o, but wrong architecture I have tried the following in the make file:

print 64bit c++ full memory address

旧街凉风 提交于 2019-12-24 23:37:45
问题 While I was writing code on a 64 bit machine for a c++ program,I noticed that printing the address of a variable (for example) returns just 12 hexadecimal characters, instead of 16. Here's an example code: int a = 3 ; cout sizeof(&a) << " bytes" << endl ; cout << &a << endl ; The output is: 8 bytes 0x7fff007bcce0 Obviously, the address of a variable is 8 byte (64 bit system). But when I print it, I get only 12 hexadecimal digits instead of 16. Why this? I think that is due to the fact that

How can I dynamically get the system architecture?

跟風遠走 提交于 2019-12-24 22:33:04
问题 Well as the title says is there any way to get the system architecture within c++? Thanks! 回答1: Based on "dynamically" and "Visual C++", I'm going to guess you want to do this at run-time under Windows. In that case, you can use GetSystemInfo or GetNativeSystemInfo to retrieve some basic information about the system and processor. If you need more information about the processor and specific features it supports, you can use IsProcessorFeaturePresent to find them (though it can be a little

gawk 3.1.6-1 on Windows 7 x64 Pro gets 0 return code using system() even on failed commands

隐身守侯 提交于 2019-12-24 22:25:14
问题 I'm running gawk scripts on Windows. For a long time I've used gawk 3.1.4 on Windows XP x86 and all was OK. My environment has changed to Windows 7 x64, and now gawk 3.1.4 frequently fails with fatal errors. I've updated to latest available gawk 3.1.6-1 (https://sourceforge.net/projects/gnuwin32/files/gawk/) --> fatal errors are gone (yahoo), but a very strange behaviour I met: it cannot get non-zero return code on failing command. For example, I call print "System return test: "; system(

Cannot call RICHTEXT.RichtextCtrl from SQL Server 2008 (on Windows 2008 Server x64)

主宰稳场 提交于 2019-12-24 20:13:52
问题 I want to use the fallowing function in my SQL-Server: CREATE FUNCTION RTF2TXT(@in varchar(8000)) RETURNS varchar(8000) AS BEGIN DECLARE @object int DECLARE @hr int DECLARE @out varchar(8000) -- Create an object that points to the SQL Server EXEC @hr = sp_OACreate 'RICHTEXT.RichtextCtrl', @object OUT EXEC @hr = sp_OASetProperty @object, 'TextRTF', @in EXEC @hr = sp_OAGetProperty @object, 'Text', @out OUT EXEC @hr = sp_OADestroy @object RETURN @out END GO The Problem is, that I always get NULL

ios:crash in 64 bit device

99封情书 提交于 2019-12-24 17:46:29
问题 Can someone explain why my app crashes with the following error: EXC_BAD_ACCESS(Code = 1, address= ...) This crash occurs only in 64 bit devices. I am not able to figure it out. - (NSString *)getIPAddress { NSString *address = nil; struct ifaddrs *interfaces = NULL; struct ifaddrs *temp_addr = NULL; int success = 0; // retrieve the current interfaces - returns 0 on success success = getifaddrs(&interfaces); if (success == 0) { // Loop through linked list of interfaces temp_addr = interfaces;