Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ...

i have developed one small application in java in MVC architecture. view using swing. i had a dll which can perform addition and substraction . i want to invoke that dll from swing action listener when we click on add button. how can i invoke the DLL in java application. i am using ecllipse tool for code development.


1) If DLL is C# code how can we use DLL component.
2) If DLL is CPP code how can i reuse it.
3) If DLL is C code how can i reuse.


please suggest immediately a solution for me.
Posted
Updated 26-May-12 12:25pm
v5
Comments
Richard MacCutchan 26-May-12 5:49am    
I gave you some suggestions yesterday. Have you made any attempt to investigate them?
Nelek 26-May-12 18:27pm    
Just for your information. People is here helping for free in their spare time, so using "inmediately" is quite rude from you. Asking politelly and saying please and thanks will bring you more results than "urgent", "inmediately" and similars

1 solution

1. See here[^].
2. JNA[^] or JNI[^]
3. Same as 2.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900