Connecting Tech Pros Worldwide Forums | Help | Site Map

Calling a c# functions from Java

Maidenz08's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 30
#1: May 25 '09
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

Familiar Sight
 
Join Date: Mar 2008
Posts: 141
#2: May 25 '09

re: Calling a c# functions from Java


Yes it is possible. You just call the method from the dll as usual.
Maidenz08's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 30
#3: May 25 '09

re: Calling a c# functions from Java


Is that so simple..????!!!!!

Can someone please confirm coz i dont think it is so straight forward.
PRR PRR is offline
Moderator
 
Join Date: Dec 2007
Location: India
Posts: 702
#4: May 25 '09

re: Calling a c# functions from Java


You can expose the C# dll as com and maybe use j-Interop to call the dll?
Take a look at this article and PDF..
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#5: May 25 '09

re: Calling a c# functions from Java


Why are you starting multiple threads about this?
Why haven't you replied to any of the responses given to you in your other thread?
Maidenz08's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 30
#6: May 25 '09

re: Calling a c# functions from Java


I dint know which community to post it in.

Hence the duplicates.
Reply