80,481
社区成员
发帖
与我相关
我的任务
分享void *handle;
int (*call_method)(void);
handle = dlopen(so_path, RTLD_LAZY);
//函数指针
call_method = dlsym(handle, "method_name(调用方法的函数名)");void *handle;
int (*call_method)(void);
handle = dlopen(so_path, RTLD_LAZY);
//函数指针
call_method = dlsym(handle, "method_name(调用方法的函数名)");[/quote]
多谢!我试试。