473,394 Members | 1,750 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,394 software developers and data experts.

From 64-bit .Net to 32-bit com+

I am currently trying to update an Access Database on an Itanium box
and know that the assembly has to be ran in 32-bit mode because there
are no Jet Drivers for 64-bit mode. So I figure the best way is to
create a com+ dll in C# with the x86 switch turned on and have that
transactionally update Access. I have successfully installed this
using the 32bit .Net Framework registration program. Now my problem
seems to be how to reference this com plus dll correctly from a 64bit
Windows Service. If I point to the assembly in my references in the 64
bit app and try to compile I get a badimageformat exception. If I
recompile the assembly in 64-bit mode and reference it locally then
the app will compile, but it will try to run the access methods 64-bit
mode and nothing will happen. Any ideas how to reference a 32bit com
plus dll from a 64bit windows service? Thanks,

Brian

May 17 '07 #1
1 2068
"Brian" <br*******@gmail.comwrote in message
news:11*********************@y80g2000hsf.googlegro ups.com...
>I am currently trying to update an Access Database on an Itanium box
and know that the assembly has to be ran in 32-bit mode because there
are no Jet Drivers for 64-bit mode. So I figure the best way is to
create a com+ dll in C# with the x86 switch turned on and have that
transactionally update Access. I have successfully installed this
using the 32bit .Net Framework registration program. Now my problem
seems to be how to reference this com plus dll correctly from a 64bit
Windows Service. If I point to the assembly in my references in the 64
bit app and try to compile I get a badimageformat exception. If I
recompile the assembly in 64-bit mode and reference it locally then
the app will compile, but it will try to run the access methods 64-bit
mode and nothing will happen. Any ideas how to reference a 32bit com
plus dll from a 64bit windows service? Thanks,

Brian

The COM+ package must be registered as a "Server type" application not a
"Library type", that is, it must run out-of-process.
Note also that 32 bit applications (under WOW64) on Itanium take a serious
performance hit, as the code does not run natively.

Willy.

May 17 '07 #2

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

Similar topics

5
by: Sergey V | last post by:
Having following problem 1. Client: ASP application with anonymous access to be running as DOMAIN\my_user on WinXP 2. Server: DCOM NT Service runs on remote host (W2K Server) under the same...
9
by: Nick Calladine | last post by:
hi I am trying to work out if i can read a value from a dropdown box to caculate a running total on selection of a form I using romancart as way to get the data to the form but wish to have a...
10
by: Greg Stark | last post by:
This query is odd, it seems to be taking over a second according to my log_duration logs and according to psql's \timing numbers. However explain analyze says it's running in about a third of a...
4
by: jesuraj | last post by:
Hi, how can i read input from a data file which contains binary or hex values. I have to use the exact binary data for further processing.only limited number of bits are taken form the file(64...
10
by: krunalb | last post by:
Hi, I am trying to shift unsigned long long value by 64 bits and this is what i get #include <stdio.h> int main() { unsigned short shiftby= 64;
19
by: Serman D. | last post by:
Hi, I have very limited C knowledge. I want to convert to output from a MD5 hash algorithm to printable ascii similar to the output of the md5sum in GNU coreutils. Any help on how to do the...
7
by: basyarie | last post by:
Dear VB mania, especially VB6 specialist I have a problem with my GPS. So far, I have a GPS-M1zz from Pioneer Navicom company. It has 2 type of data format, i.e. Pioneer Format and NMEA data...
3
by: kibong | last post by:
I am trying to get what the user inputs into the box and then take that to check their answers and make sure everything is correct before moving on. here is my code <%@ Page Language="vb" %> ...
4
kcdoell
by: kcdoell | last post by:
Hello: What is the best way to stop a report from running if the query is empty? Currently, I have a form that has a command button on it. The user has to make selections from 3 combo boxes on...
8
by: Freddy Coal | last post by:
Hi, I would like make a search and replace in a file, for that I need get the text in a textbox, but I need recognyze literally characters of the user like a commands, for example: The chain of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.