how to create object of a C++ class in my servlet ? i am facing a problem regarding call functions from C++ files. Actually am developing a SMS sending application using java servlets & Nokia datasuite 3.0 software. the API of this software is in C++. Now i need to create an object of some classes of datasuite & call some functions. One more proble mis there, the datasuite API is in the form of .dll files, not as .exe or .jar. so, i can't set those values in classpath also.