How I can access a function inside a class using dlsym?
Example:
class test
{
public:
int (testCall)();
};
If I use dlsym(handle, "testCall"); it gives me error Call to dlsym failed : /usr/lib/a.so: undefined symbol: testCall
How I can access a function inside a class using dlsym?
Example:
class test
{
public:
int (testCall)();
};
If I use dlsym(handle, "testCall"); it gives me error Call to dlsym failed : /usr/lib/a.so: undefined symbol: testCall