i got dll from the customer ,this dll has methode which return class object e.g. DLL code is like this-
namespace mDLL
{
class myDll
{
public:
char* getName()
{
return "Hello World";
}
};
}
extern "C" _declspec(dllimport) mDLL::myDll* GetDllInstance(__in__ const char* const Name);
i want to use this dll insdie my JAVA code and call methode GetDllInstance ,please help me in implementing this . i tried JNA but dont know how to retrieve class pointer object