I have a strange problem with a .NET application. I run the application (a Windows Forms app) on a 64 bit Windows 2008 Server. I run it remotely using Remote Desktop. My application does its own drawing ( i.e. g.DrawString("hello world"...) ) on the app.
If I build the app with the Platform Target (in the Build tab of the application pr...
I have made a dll that compiles fine in 32bit mode, but when compiling in 64bit mode (both on a 32bit box cross compiling and on a native 64bit box) I get the above error.
The symbol that it is complaining about are the following:
"struct return_info_ * __cdecl patch_file(char *,char *,char *)"
I am new to C++ but I think I have defin...
Hi,
Although having a little experience, I am still confused with the question of whether it is necessary to install an application and/or build a C++ program or C++ library under Network File System shared by machines, which have different Linux version (e.g. CentOS release 4.7, Ubuntu 8.10), possibly different bit (e.g. 32-bit, 64-bit)...
Is there a way from a 32bit application running on a 64bit system to have access to the default folders for 64bit applications?
For example, using SHGetSpecialFolderPath with CSIDL_PROGRAM_FILES from a 32bit application returns "C:\Program Files (x86)' If the same call was used from a 64bit application, I would get "C:\Program Files"....
Imagine the same hardware running Windows XP 32bit, or Windows XP 64bit..
(being that it's a 64bit processor currently running XP 32bit)
2gigs of ram...
Will the performance of Visual Studio benefit from going to the 64bit OS?
The hardware and ram is currently out of my control... If I could throw more hardware or ram at it I would.
...
I have this code:
DateTime d = DateTime.Today;
long l = d.ToBinary();
object o = (long)l;
d = new DateTime((long)o);
When I execute this code, I get an error on d = new Date..(the last line). It says the argument is out of range; that it is out of the range of max and min ticks. Which does seem probable, as using a debugger l is a hug...
I have resorted to using the Win32 API calls VirtualAlloc/VirtualFree to allocate and release memory blocks greater than 2GB in size.
I should be able to use the AllocHGlobal function from the System.Runtime.InteropServices.Marshal class to do the same.
However, the following code gives an arithmetic overflow exception (note the explic...
I am using DllImport in my solution.
My problem is that I have two versions of the same DLL one built for 32 bit and another for 64 bit.
They both expose the same functions with identical names and identical signatures.
My problem is that I have to use two static methods which expose these and then at run time use IntPtr size to determi...
I just recently moved a SQL DB from SQL2005 32 bit --> 64 bit. I am having an issue connecting to Oracle using the OraOLEDB.Oracle Provider.
I was able to install Oracle 10G Client , ODAC 64 bit. I was also able to add a linked server to the Oracle instance. I am able to run a query using the linked server name directly:
SELECT top 1...
Is there a 64 bit version of Java 1.4.2 for Windows?
I need this because of a BEA WebLogic 8.1 application that runs out of memory all the time.
UPDATE:
As Tom Hawtin pointed out there are licensing problems with the Sun 64 bit version I suggested in my own answer. Just out of curiosity:
If you know a version which is available under ...
One of my team has recently come across an interesting glitch in the matrix. If anyone can help explain this it'd be great. It is possibly a complicated to explain, so bear with me.
We are building an ASP.Net application. In it we have a simple "if" statement.
Guid adminId = Guid.Empty;
if (mRoles.Contains("Admin"))
{
adminId = mU...
I am trying to find out if a given executable (or library) is compiled for 32-bits or 64-bits from Python. I am running Vista 64-bits and would like to determine if a certain application in a directory is compiled for 32-bits or 64-bits.
Is there a simple way to do this using only the standard Python libraries (currently using 2.5.4)?
...
Hello,
I am developing an application that will run on 64 bit computers.
However, we are using a library that has 32 bit integers that we cannot change. And we will need to compile and run on a 64 bit computer.
What would the implications be when the application is running? Is there any work around?
Many thanks for any advice,
...
Can i create 64-bit setup.exe file using InstallScript project in InstallShield 2009?
Documentation is only about msi projects.
Or tell me alternative way to use 64-bit registry keys, please.
...
On Windows Server 2008 64-bit, I need an .msi installer file to write some files to \windows\system32\inetsrv folder. (The files are some XML Schema validation files, that C# XmlReaderSettings.Schema.Add() expects to be in that folder).
When the installer runs, the files end up in \windows\SysWOW64\inetsrv folder, not where they need to...
Given a .NET 3.5 programming and client-use environment with Windows Vista. What are the implications for programming for a 64 bit OS under the below circumstances? Please specify whether there are issues of functionality or optimization - i.e. will it work and can it be made to work better in 64-bit environment.
1) You are developing...
I was looking at some libraries with dumpbin and I noticed that all the 64-bit versions were linked to KERNEL32. Is there no KERNEL64 on 64-bit Windows? If not, why?
All my operating systems are 32-bit so I can't just look. A google search brings up nothing worthwhile so I suspect that there is no KERNEL64 but I'm still curious as to...
I'm looking to differentiate between Core Solo/Duo and Core 2 Duo processors for 64-bit support.
On a Core 2 Duo, then `sysctl hw.cpu64bit_capable` gives 1, as desired, but on a 32-bit processor, it throws an error, saying:
second level name cpu64bit_capable in hw.cpu64bit_capable is invalid
What's the best way to detect a 64-bit pro...
I'm looking for strategies and articles on making Carbon code 64-bit ready.
Carbon for 64-bit does not and will not exist. It's pretty much a dead end.
So in order to bring Carbon application and toolkits to 64-bit their GUI part will have to be re-written in Cocoa and Objective-C, right?
How can I minimize the effort I have to put in...
While trying to compile a 64 bit linux kernel using gcc, I see the
following error :
kernel/bounds.c:1: error: code model ‘kernel’ not supported in the 32
bit mode
kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in
This is what gcc -v reports :
Using built-in specs.
Target: i586-redhat-linux
Configured with: ../conf...