Load shared library by path at runtime

后端 未结 4 1154
青春惊慌失措
青春惊慌失措 2020-12-05 05:04

I am building a Java application that uses a shared library written in C++ and compiled for different operating systems. The problem is, that this shared library itself depe

4条回答
  •  时光取名叫无心
    2020-12-05 05:28

    I concur with the other posters about the use of dlopen and LoadLibrary. The libltdl gives you a platform-independent interface to these functions.

提交回复
热议问题