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

calling c# methods from a dll in Java

Maidenz08
Hi,

I have a dll written in c#. I need to use this dll in java and call the functions from there.

Is it possible to archive this?

can someone shed light on the same.

Any links..??

Thanks
May 25 '09 #1
2 3027
r035198x
13,262 8TB
Read about JNI.
May 25 '09 #2
JosAH
11,448 Expert 8TB
Wouldn't it be wiser to complete your project in C# alone? Otherwise you end up with two forms of Java (Microsoft stole Java from Sun, mutilated it and named it C# (hurray!)) that don't understand each other and will fight for the memory of the real machine. Oh, and yes, as already replied, you need a bit of C or C++ to glue the two together.

kind regards,

Jos
May 25 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Oleg Konovalov | last post by:
Hi, I am writing a Java application which among many other things has to call some MS Office internal methods, which only seems to be possible from either VBA or C#. Can anybody suggest a...
1
by: Stephen Kellett | last post by:
Hello everyone, I'm trying to do something in C calling Python and its failing. I'd be grateful if you could take a look and hopefully you have an answer. What I'm trying to do is determine...
2
by: Radha News | last post by:
Hi, I am looking for reference books/tools/code samples for calling java objects/methods from COM/C++ classes. I am reasonably familiar with JNI. If you have used JNI, please let me know of...
7
by: Klaus Friese | last post by:
Hi, i'm currently working on a plugin for Adobe InDesign and i have some problems with that. I'm not really a c++ guru, maybe somebody here has an idea how to solve this. The plugin is...
0
by: Oleg Konovalov | last post by:
Hi I am writing a Java application which among many other thing has to call some MS Office internal methods, which only seems to be possible from either VBA or C# Can anybody suggest a way...
4
by: Oleg Konovalov | last post by:
Hi I am writing a Java application which among many other thing has to call some MS Office internal methods, which only seems to be possible from either VBA or C# Can anybody suggest a way...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
7
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.