473,322 Members | 1,566 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

porting 32bit app to 64bit


I have just few questions. We are thinking of porting our 32 bit
application to 64 bit as we need to use more memory usage and want to
take advantage of 64 bit processor. Currently my applications which
has lot of webservices also is compiled in Visual studio 2003
using .net 1.1 To convert to 64 bit, i will be using visual studio
2005 and compile it in x64 platform. I have following questions

1. Do i have to build the application in 64 bit machine before
deploying it to 64 bit windows 2003 servers(which is our prod
servers)?

2. I have lot of third party Com object which i used it in our
application. We did created a wrapper over it using tlbimp.exe and
refering .Net wrapper in our projects. The question is underlying com
dlls are still 32 bit. will it work when we use it in 64 bit
application? do i have to create a wrapper again and if i have to,
has it to be don using tlbimp.exe 64 bit version? Because if i just
compile my application in 64 bit platform fin 32 bit machine and then
deploy to 64 bit servers, i do get error loading those com objects. As
of now we don't have 64 bit version of those dependent com dlls.Does
it mean we cannot port our app to 64 bit?

Any kind of help or articles regarding this would be of great help.
Nov 1 '08 #1
1 4692
a limitation of 64 bit windows is that a 64 bit application cannot load
a 32 bit dll. this means if you host your webservice as 64 bit .net
application, it can only load 64 bit dll's.

if your com components are not available in 64 bit, then you will have
to host them in a 32 bit application and call then via dcom or .net
remoteing.

as for building your webservice you can build a 64 bit version on win32.
you should get the web deployment project download to help with this.

-- bruce (sqlwork.com)

vi*****************@gmail.com wrote:
I have just few questions. We are thinking of porting our 32 bit
application to 64 bit as we need to use more memory usage and want to
take advantage of 64 bit processor. Currently my applications which
has lot of webservices also is compiled in Visual studio 2003
using .net 1.1 To convert to 64 bit, i will be using visual studio
2005 and compile it in x64 platform. I have following questions

1. Do i have to build the application in 64 bit machine before
deploying it to 64 bit windows 2003 servers(which is our prod
servers)?

2. I have lot of third party Com object which i used it in our
application. We did created a wrapper over it using tlbimp.exe and
refering .Net wrapper in our projects. The question is underlying com
dlls are still 32 bit. will it work when we use it in 64 bit
application? do i have to create a wrapper again and if i have to,
has it to be don using tlbimp.exe 64 bit version? Because if i just
compile my application in 64 bit platform fin 32 bit machine and then
deploy to 64 bit servers, i do get error loading those com objects. As
of now we don't have 64 bit version of those dependent com dlls.Does
it mean we cannot port our app to 64 bit?

Any kind of help or articles regarding this would be of great help.
Nov 1 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Hartmann | last post by:
Hello, I could really use some help. I'm trying to install a python program on centos4 x86_64. When I run 'python setup.py' it ends up in /usr/lib64/python2.3/site-packages/ instead of...
8
by: dwelch91 | last post by:
I need to detect whether the operating system I am running on (not the Python version) is 64bit or 32bit. One requirement is that I need to include support for non-Intel/AMD architectures. The 2...
0
by: GDB500 | last post by:
Can you help with code to convert from 64bit to 32bit other than just A=B :confused: The full story is that I have a 64bit float in hexidecimal so first I need to get this into a 64bit float ...
1
by: spikejp | last post by:
Platform: Windows 2000 and Windows 2003 Server UDB DB2 v8.1.11 I have the task of Migration my DB server from a 32Bit HW to a 64Bit HW. The DB2 software is installed on the local disks but the...
5
by: shobhah | last post by:
Hi, We have a complete succsssfully working product on 32bit sparc solaris machine for which compiler used is CC 5.8 Now we are migarting our product from 32 bit to 64bit sparc solaris machine....
2
by: M O J O | last post by:
(I'm using Visual Studio 2008) I want my new develloper pc to be Vista 64bit, but all my clients are so far 32bit (XP), so my questions are: 1) Is it possible for me to tell VS2008 that the...
0
by: Leo Park | last post by:
Hello, guys. I want to compile 32bit *.c and *.cc files On 64bit x86_64 systems. But, it is not work. ...
1
by: Morfys | last post by:
Hi, I would like to copy glibc/libgcc (in particular, libc.so. 6,libgcc_s.so.1) for a 32bit machine onto a 64bit machine. Would using the 32bit glibc/libgcc on the 64bit machine work? The...
8
by: kjhishere | last post by:
I need to know if I'm running on 32bit or 64bit ... so far I haven't come up with how to get this info via python. sys.platform returns what python was built on ... but not what the current system...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.