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
0 answers
How to persuade dynamic loader to respect $LIB within RPATH in linux?
I have set the binary's rpath to the following: /usr/$LIB/test:$ORIGIN/lib/
The libraries are located at /usr/lib64/test, but when I run my binary it says it can't find those libraries.
I have checked the rpath with readelf -d.
The question is…

abyss.7
- 13,882
- 11
- 56
- 100
0
votes
1 answer
UI Tab load external page, jQueries not working anymore
I've got a problem when i using UI Tabs and load an external page into the tabcontent-DIV. When the page has loaded, all jQueries for this page seems not to work anymore. I read something about callbacks, but it's not clear at all.
Example: I load…

Guido Lemmens 2
- 2,317
- 5
- 23
- 29
0
votes
2 answers
Failed to load viewstate
I have an aspx page that dynamically loads user controls: there is an UpdatePanel that holds these controls (one each time). When I change a control with another one it fails with the message:
Failed to load viewstate. The control
tree into which…

VansFannel
- 45,055
- 107
- 359
- 626
0
votes
0 answers
Access static methods and fields with class type returned by dlsym
Can we access static methods and fields with class type returned by dlsym?
Ex:
MyClass* pMyClass= (MyClass*)dlsym(phandle, "MyClass");
pMyClass->staticFunction();
pMyClass->staticField=0;
;

Avinash
- 3
- 1
0
votes
1 answer
Why does ChangeWindowMessageFilter cause Qt to crash?
Why does the following program crash?
#include
#include
#include
uint MSGFLT_ADD = 1;
uint WM_COPYGLOBALDATA = 0x0049;
int main(int argc, char *argv[])
{
BOOL (*ChangeWindowMessageFilter)(UINT,DWORD) =…

chacham15
- 13,719
- 26
- 104
- 207
0
votes
1 answer
64 bit and 32 bit tools run in one environment
I have a script (bash) which calls 6 tools, 4 of them 32 bit compiled and 2 of them 64 bit compiled. one 32 bit and one 64 bit are oracle dependent tools. As Oracle dependent tools are dependent on dynamic libraries (.so files), I am getting Errors…

duslabo
- 1,487
- 4
- 20
- 33
0
votes
1 answer
jquery css('height') not available until 17 ms after appended
I'm having an issue with centering some images that are loaded to an absolute position (previously set by customer team).
I've traced the problem to getting an elements height.
An image is appended and if I try to get its height immediately after,…

cml
- 107
- 2
- 12
0
votes
3 answers
How can I show an error message when trying to run an exe file without its dlls?
I have a C# application which has a dll added by reference.
When I try to run the exe file from Windows (after compilation) and the dll is renamed I want the application to show an error message.
How can I do it in code?

song
- 1
0
votes
2 answers
Need xml layout for the below screen
I am working on creating a page with a layout with header "Account Information" (ref.. image). Followed by a table and i need to populate the table dynamically after fetching from server but not able to do so. Below is the .xml file and attached is…
0
votes
1 answer
why the DSO was loaded at address 0
There is a simple test program,it dlopen()s a DSO "/lib/libc.so.6" and then print the address of symbol "printf".
#include
#include
int main() {
void* handle;
void (*func)();
char* error_test;
if (handle =…

abin
- 1
- 1
0
votes
1 answer
How to dynamically load datatable?
I use RichFaces to develop some web pages, basically I'd like to display a list of my data with DataTable. But my manage bean will take a long time to obtain resource data, which blocks the web page display.
My goal is to dynamically display them,…

user1684651
- 390
- 1
- 8
- 21
0
votes
1 answer
generic return type for dl'ed functions
Hi Im loading functions dynamically and executing them. I want be able to define a generic return type so that compiler can clean up the stack properly. Currently its printing gibberish for version string.
How can I make the following code work?
//…

Mastertronic
- 27
- 3
0
votes
1 answer
What my host could be blocking| dynamic scripts doesnt load
I am not an expert in javascripts/ajax, but I know some html,css an php....
And I have a joomla blogs... with ajax extensions...
The problem is, that some scripts are supposed to do dynamical loading, and they never work on my current host...but…

user1981528
- 9
- 5
0
votes
1 answer
Accessing list of symbols in plugin
i'm using libltdl in order to dynamically load plugin libraries. Been following this documentation, and after i call this
lt_dlhandle lt_dlopen (const char *filename)
i need to know what symbols are defined in this library. I need the list of…

lurscher
- 25,930
- 29
- 122
- 185
0
votes
1 answer
Detecting and dynamicly loading the installed Microsoft Word Object Library
A little back story: I have small application that will use Word to generate a Outlook signature based on a Word template and data from the company active directory. It works wonderful on computers with Office 2007, since I used "Microsoft Word 12.0…

Egil Hansen
- 15,028
- 8
- 37
- 54