Home » Community » Coffee corner » Strange Architecture (Dll Hot load)
Re: Strange Architecture [message #52089 is a reply to message #52077] |
Wed, 17 July 2019 20:14 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
Xemuth wrote on Tue, 16 July 2019 06:34
Is it possible to compile modules as Dll (or linux equivalent)
and Programme SmartUppBot to allowing it to "hot load" dll located on a file and use it ?
if yes. Do this system have a limit ? is it a good way to do "clean" programme ?
The U++'s way of working with DLLs is this.
It looks like DLLs name should be known at compile time, but you should be able to improve this code if you want to.
In general, DLLs are loaded/unloaded via dlopen/dlclose calls (in Windows these functions have different names).
Useful tool: Dependency Walker.
Besides showing you what is imported/exported it allows you to trace DLL-related calls.
Try to trace any app and you'll have a lot of fun.
You can create DLLs in U++.
U++ itself is not very well suited to be shared among DLLs.
Hint: try to choose "All shared" in "Output mode" and check what will happen.
Hope this helps.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri Apr 26 21:05:52 CEST 2024
Total time taken to generate the page: 0.03266 seconds
|