Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
86 views

I have a fortran dll/so which needs to know its own programhandle. On windows, I can obtain the handle from the DLLMain routine: integer(4) function DllMain(hInst, ul_reason_being_called, lpReserved) ...
Mads M Pedersen's user avatar
0 votes
0 answers
98 views

Good morning. I want to reload a dll at runtime but I can't. I have two programs lets name them host and plugin. Host compiles to an executable and plugin compiles to a dll. Host loads a function from ...
apilatosba's user avatar
0 votes
1 answer
37 views

I'm creating a Free Pascal dynamic library (.dylib) on macOS that works on Windows but fails to load symbols on macOS. The symbols appear in the symbol table when checked with nm, but dlsym cannot ...
Bilko's user avatar
  • 348
1 vote
0 answers
97 views

I'm trying to set up the Slang shader compiler, and the first step is to create a global session with: SlangResult slang_result = slang::createGlobalSession(); This takes a long time, like 5 seconds ...
Zebrafish's user avatar
  • 16.3k
0 votes
1 answer
493 views

I want to load an external library (eg:\Lic\64bit) which contains some DLL files inside it to JVM at runtime. Can't use Reflection and FFM (Java Foreign Function Memory API) as well. I tried with some ...
Anjana's user avatar
  • 1
0 votes
0 answers
45 views

My program runs on linux, and uses a openmp-enabled dynamic library (named calc.so) for fast parallel computation, calc.so exports this function double calc(double* data). When the program is running, ...
Xiaoyong Guo's user avatar
0 votes
1 answer
156 views

I am currently playing with POSIX functions defined in dlfcn.h with Rust, with the goal of calling a function in a separated .so file. The project actually contains 2 crates: The binary loading the ...
Quentin's user avatar
  • 79
1 vote
1 answer
291 views

The code compiles as it should, but somehow, the binary file doesn't know where the library is. ❯ ldd myteams_cli linux-vdso.so.1 (0x00007ffcbc1b4000) libmyteams.so => not found ...
1ups_'s user avatar
  • 47
0 votes
1 answer
143 views

The following code listing works just fine - but as I'm still dipping my toes into the C++ waters, I'm wondering if there is a better - more generic - way to define each of the function definitions. I ...
Droid's user avatar
  • 1
1 vote
0 answers
166 views

I'm planning on making a game in Rust, and I'd like to have native plugins/mods in the form of dynamic libraries. I'm planning on using libloading for this. Mods will be able to add new entities and ...
64_Tesseract's user avatar
1 vote
2 answers
2k views

I'm new to this and don't understand why I should use dynamic linking when there is static linking. I know that dynamic linking reduces the size of the program file, but if it is a custom dynamic ...
tomeadom's user avatar
3 votes
2 answers
125 views

My little open-source C/C++ project also offers precompiled dynamic libraries to allow other languages to bind. For Windows I just provide x86 and x64 versions. For Macos, I propose an intel x64 ...
tinyfiledialogs's user avatar
0 votes
0 answers
34 views

I was using cygwin gcc (7.4.0-x64) on windows to build dynamic link library for java. Here reports the error: H:\ddlog/java/ddlogapi.c:1057:28: error: conflicting types for '...
reason liu's user avatar
0 votes
1 answer
127 views

Recently, I want to add some breakpoints and debug some ROS libraries step by step to learn how these functions are called. These ROS libraries have been built from source. However, I found that all ...
KKKmelody's user avatar
  • 151
0 votes
1 answer
42 views

Could the JVM load a dynamic LIBRARY from network?if could be and how? THANKS I am studying JNI recently. I am working wiht mates, when other mates developing in theirs environment, they haven't the ....
豆沙饼's user avatar
2 votes
1 answer
439 views

I'm trying to build a MacOS app for both x86_64 and arm64 architectures. I'm also linking it with some .dylib libraries which I have in both architectures. In XCode I figured that I can set the search ...
Soid's user avatar
  • 2,908
0 votes
1 answer
154 views

I am currently learning C and am trying to understand the possibilities of dynamic libraries. My current question is, if I have a simple "Hello World" application in C called "ProgA&...
user5864789's user avatar
1 vote
0 answers
2k views

I have a dynamic library that I want to use. However, one of its dependencies is not available on my system: $ ldd redacted_name.so | grep 'not found' libapt-pkg.so.5.0 => not found I ...
Shane Bishop's user avatar
  • 5,052
0 votes
1 answer
541 views

Background Trying to profile an executable, I experimented the profiler Intel VTune and I learn that there is an API library (ITT) that provide utility to start/stop profiling. Its basic functions ...
rafoo's user avatar
  • 1,650
0 votes
4 answers
210 views

I have built a libpcre2-8.dll with the help of this Git Repo. I'm now trying to access the function pcre2_compile from an ABL (Progress) program. (Progress is an old 4GL Language). I'm constantly ...
Lieven Cardoen's user avatar
0 votes
1 answer
1k views

I got an iOS App with following nested structure: iOS App (swift + objC) { iOS Framework (objC + C++) { dynamic library (C++) { static library (C++) } } } It links and compiles ...
Andrey Lyubimov's user avatar
0 votes
1 answer
360 views

I want to load a shared object to certain processes, there are certain conditions that are required: Loading to only specific processes and not all of them; It has to be done before the process code ...
ALsec's user avatar
  • 11
0 votes
1 answer
557 views

I've made an OOT module that uses a dynamic shared library. The library files are located at "/home/username/intel/oneapi/ipp/2021.6.0/lib/intel64". I've added to the module_folder/lib/...
Yudugur's user avatar
2 votes
1 answer
2k views

I am unable to use C++ dependency injection library "boost::di" with another boost library for dynamic loading of libraries named "Boost.dll". I broke down the problem into two ...
Sukhdeep Singh's user avatar
6 votes
1 answer
5k views

When I compile python from source manually (with --enable-shared), I get a dynamic library in the lib directory. For example: $ ls $PYTHON_INSTALLATION_DIRECTORY/lib libpython3.9.so libpython3.9.so.1....
S.V's user avatar
  • 2,855

1
2 3 4 5
10