Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1000
Registered: December 2006
Experienced 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Map implementation
Next Topic: [SOLVED]Sharing Ptr of object to dll
Goto Forum:
  


Current Time: Wed Jun 03 04:17:18 CEST 2020

Total time taken to generate the page: 0.01004 seconds