Posted By:
maarsh_a
Posted On:
Monday, December 31, 2007 12:49 AM
Hi , I am working on a project which requires a java code calling a vb.net dll . Here are some of the steps i tried. 1) Created a java class containing native method . 2) Generated C/C++ header files for that java class using javah.exe. 3) Included this header file in a new VC++.NET dll project . 4) Implement the method defined in the c/c++ header in VC++.NET 5) Created a VB.NET dll project. 6) The reference of VB.Net project was set in VC++.NET . 7) Now call the java code . I am able to call the methods in vc++.net dll from java . however , if i try calling the vb.net dll from java through vc++.net dll , it is giving error . Can someone help me in this
More>>
Hi ,
I am working on a project which requires a java code calling a vb.net dll .
Here are some of the steps i tried.
1) Created a java class containing native method .
2) Generated C/C++ header files for that java class using javah.exe.
3) Included this header file in a new VC++.NET dll project .
4) Implement the method defined in the c/c++ header in VC++.NET
5) Created a VB.NET dll project.
6) The reference of VB.Net project was set in VC++.NET .
7) Now call the java code .
I am able to call the methods in vc++.net dll from java . however , if i try calling the vb.net dll from java through vc++.net dll , it is giving error .
Can someone help me in this ?
Thanks
marsh
<<Less