Mechanism for a computer program to load a library (or other binary) into memory at runtime. Allows retrieving addresses of functions and variables contained in the library, executing functions, accessing variables, and unloading library from memory.
Questions tagged [dynamic-loading]
378 questions
0
votes
2 answers
HTML Select, Javascript dynamic load
I have the following:
user4585803
0
votes
2 answers
Python import classes from modules dynamically
I'm working with an API which has many sub components. I'm making a toolkit to interact with this API and I would like to make it so that I can dynamically load some of the classes based on variables, for example, loading all classes which have a…

joeButler
- 1,643
- 1
- 20
- 41
0
votes
1 answer
Poco AsyncChannel does not exit on forked process exit
Problem:
Call/Initialize Poco code from inside a C library, using loader (3rd party C program, our code is in c++).
The Program loads our library, our lib initializes Poco::Logger and uses AsyncChannel + FileChannel in the logger.
Fork from this…

ashish behl
- 319
- 1
- 3
- 19
0
votes
2 answers
C# loading assemblies dynamically is very slow
I have a Windows services which is written in C# (.NET 3.5) and this service's role is to receive DLLs with a specific interface and execute their methods.
Some clients are complaining that sometimes the service fails to start and after I've looked…

Danel Wolloch
- 17
- 1
- 6
0
votes
1 answer
android.os.NetworkOnMainThreadException Exception
I'm trying to implement listView dynamic loading, so at Launch i execute an AsyncTask, and then OnScrollListener i call an other asynctask to load more views. But i'm getting an execption.
Here is my code:
public class HomeFragment extends Fragment…

Najoua Mahi
- 304
- 3
- 16
0
votes
2 answers
C++ GetProcAddress() can't find the method of a static class
I need to dynamically load a dll in C++.
I have followed this tutorial http://msdn.microsoft.com/en-us/library/ms235636.aspx to create the dll and everything worked fine.
Then I followed this one http://msdn.microsoft.com/en-us/library/64tkc9y5.aspx…

Riccardo Cipolleschi
- 237
- 5
- 19
0
votes
1 answer
Global symbols becoming local at link
I am having an issue with my global symbols. I have a class which is compiled with default visibility (the rest of the code is hidden) and no-inline. The executable is being linked with the -E flag as well. This class is called from a library that…

l.thee.a
- 3,231
- 6
- 25
- 28
0
votes
2 answers
why are methods implemented outside an external module still accessible to the module
Having ./library.so (rary.cpp) and ./main (main.cpp) executable, both sharing the same api.h.
The only method (void method (void)) has only its signature in api.h, the actual implementation is in main.cpp.
At compile time rary.cpp doesn't include…
user1598585
0
votes
1 answer
compiling against a modified header file
I have a header file with a class definition and some includes. The class contains some public functions and some private variables. The class gets compiled into an executable.
Lets say that somebody takes this header file and creates a "public"…

l.thee.a
- 3,231
- 6
- 25
- 28
0
votes
0 answers
Programmatic interface to the GNAT compiler?
Is there a supported way to have an Ada program call out to GNAT to compile a source file, and then load the result dynamically?
(By 'supported' I mean: better than shelling out to gnatmake.)
Background: I have a program whose configuration files…

David Given
- 13,277
- 9
- 76
- 123
0
votes
1 answer
Dynamically Loading Libraries in Eclipse
I'm currently working on a java project in eclipse that uses 64-bit SWT libraries. A lot of the computers this program might be used on have 32 bit operating systems, so to avoid making a 32-bit and a 64-bit version, I want to explore dynamically…

user3886403
- 133
- 1
- 6
0
votes
1 answer
How does a process find dynamic shared libraries in Linux?
I was reading APUE and see following:
Several more segment types exist in an a.out, containing the symbol table, debugging information, linkage tables for dynamic shared libraries, and the like. These additional sections don’t get loaded as part of…

Deqing
- 14,098
- 15
- 84
- 131
0
votes
1 answer
Bind to event of control within .load() div
I have a jQuery UI dialog whose content is populated using .load(), and then displayed. What I need to do is somehow bind to a button within the loaded HTML to close that dialog.
Code:

user1147941
- 121
- 2
- 16
0
votes
1 answer
Videojs controls are not clickable
I have a very strange with videojs.
I'm trying to load videojs similar to the documentation as a dynmical video tag.
videojs(document.getElementById('myVideo'), { "controls": true, "autoplay": false, "preload": "auto" }, function () { });
My…

Grandy
- 45
- 1
- 1
- 4
0
votes
0 answers
java: Dynamic class loading with an interface to be implemented by the loaded class
i am trying to do a dynamic class loading for my uni assignment. Here is the code for an interface and part of the test class.
public interface AddressBookDataStore {
void addPerson(Person p);
Person[] getPersons(String name);
void…

melar
- 202
- 2
- 15