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

Calling C# dll from java applications

Hi,
Anybody experimented calling C# components from java applications?
I'm facing problems with the same. Any clue's are most appreciated.

Thanks in advance.
Ranjeesh

Jan 4 '07 #1
3 2739
you'll need some form of java to .net bridge. Havwe a fish around for one -
heres a starter for 10
http://sourceforge.net/projects/jcom/

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
<me**********@gmail.comwrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
Hi,
Anybody experimented calling C# components from java applications?
I'm facing problems with the same. Any clue's are most appreciated.

Thanks in advance.
Ranjeesh

Jan 4 '07 #2
me**********@gmail.com wrote:
Anybody experimented calling C# components from java applications?
I'm facing problems with the same. Any clue's are most appreciated.
Java---(Java call)---Java wrapper---(JNI call)---unmanaged C++---(COM
call)---C# code

looks like the way to go.

You can code it yourself or find a prepackaged product
that will look like:

Java---(Java call)---X---(COM call)---C# code

but in reality does the same as the previous.

Arne
Jan 5 '07 #3
Thanks for all your replies. I got a sample code from codeproject where
it says the different layers that I need to create to make it happen.
Let me try...

Thanks,
Ranjeehs
Arne Vajhøj wrote:
me**********@gmail.com wrote:
Anybody experimented calling C# components from java applications?
I'm facing problems with the same. Any clue's are most appreciated.

Java---(Java call)---Java wrapper---(JNI call)---unmanaged C++---(COM
call)---C# code

looks like the way to go.

You can code it yourself or find a prepackaged product
that will look like:

Java---(Java call)---X---(COM call)---C# code

but in reality does the same as the previous.

Arne
Jan 5 '07 #4

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

Similar topics

198
by: Michael N. Christoff | last post by:
Java, the software developed by Sun Microsystems in the mid-1990s as a universal operating system for Internet applications, gave NASA a low-cost and easy-to-use option for running Spirit, the...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
18
by: steve.anon | last post by:
Hi I'm a Java developer moving to windows only applications. Of course the first thing I thought was "well at least, without the VM now I can write desktop applications that run real fast". So I...
5
by: TZESENG | last post by:
DECEMBER 13, 2005 . Editions: N. America | Europe | Asia | Edition Preference News Analysis By Steve Hamm Source: http://www.businessweek.com/technology/content/dec2005/tc20051213_042973.htm...
2
by: pragatid | last post by:
Hi, I want to use .Net ADO lib classess and their methods from my java application. I need to write JNI wrapper DLL in C++ for this. calling ADO libraries from C++ is itself challenging due to...
4
by: Quill_Patricia | last post by:
I have a Python script which is used to load data into a database. Up to now this script has been run by customers from the Windows command prompt using "python edg_loader.pyc". Any error messages...
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...
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.