dlopen
Why does this dynamic library loading code work with gcc?
Background: I\'ve found myself with the unenviable task of porting a C++ GNU/Linux application over to Windows. One of the things this application does is search for shared libraries on specific path[详细]
2023-02-13 05:20 分类:问答typeinfo, shared libraries and dlopen() without RTLD_GLOBAL
I\'m having some trouble with exceptions not functioning correctly (or at least, as I would hope; I know there are issues with this) across shared libraries when loaded using dlopen. I include some si[详细]
2023-02-12 11:58 分类:问答dlopen from memory?
I\'m looking for a way to load generated object code directly from memory. I understand that if I write it to a file, I can call dlopen to dynamically load its symbols and link them.However, this see[详细]
2023-02-12 06:43 分类:问答Calling function by name using dlsym in iOS
Can\'t I call a function by name in iOS? I have a C function called getstring. I am calling it as follows:[详细]
2023-02-12 02:02 分类:问答How to achieve symbol versioning
I want to achieve something like below : I have multiple versions of a library. I dynamically load the latest version of the library using dlopen(). Then I want to see if a particular function (along[详细]
2023-02-10 15:24 分类:问答What happens to the global variables in shared library when dlclose is called on it?
If a shared library (or a DLL) is being used through dlopen and dlclose mechanism and if the shared library created has some global variables whose memory comes from the h开发者_运维问答eap, then what[详细]
2023-02-05 04:52 分类:问答dlopen and global variables in C/C++
Due to some restrictions I am being forced to load a library written in C at runtime.A third party provides two library to me as static archives which we turn into shared objects.The application I\'m[详细]
2023-02-04 20:26 分类:问答C++ Virtual keyword as a way to avoid including code units
Currently we have a body of code that allows service plugins which offer forms of co开发者_Go百科mmunication to the core e.g tcp/ip, udp/ip, usb, etc... These service plugins feedback notifier class i[详细]
2023-02-03 07:46 分类:问答Error when importing module, dlopen(): Symbol not found
I have written a python extension开发者_运维技巧 in C (using cython, actually, though that\'s beside the point) which uses the AudioUnit framework in Mac OSX.The module builds correctly, but when I tr[详细]
2023-01-24 07:51 分类:问答dlopen fails with file not found when file is in correct path
I have a library built using libtool which is install into the package\'s library directory, /usr/local/li开发者_开发技巧b/myprog/libmylib.so. I\'m dynamically loading the library in my code with libl[详细]
2023-01-20 04:56 分类:问答