I know it's a very common scenario. I need to call two methods from my java
code written in following cpp
files:
//test.cpp
#include <somelib.h>
#include <test.h>
method1 ("hello" , "test", "result1");
method2 ("result1", "test_Case", "result2");
And the definitions of above methods are written in somelib.lib
lib file. Here i am pasting the content of header
file related to somelib.lib
.
//somelib.h
#define _SOME_LIB_H
void method1 (string a, string b, string c);
void method2 (string c, string e, string h);
I can't paste the content of .lib
file because i didn't found any .exe
to read it.
How should i create the dll
so that i can access the above methods by calling it.