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 » Newbie corner » U++ as shared dll
Re: U++ as shared dll [message #44734 is a reply to message #44732] Wed, 10 June 2015 12:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
kaka wrote on Tue, 09 June 2015 16:52
Hello,

Sorry for my english.

Is it possible to use U++ as a shared library ?


Simple answer: NO

More complex answer: It would be theoretically possible, after fixing some issues. So far nobody done that yet, because it sort of deletes about half of U++ features. C++ and .dlls are, in principle, quite incompatible - you have to be very careful about versioning .dlls correctly. Many changes in the code make .dll incompatible. At that point, you would rather have to ship .dlls with application - and what is the point in having .exe split into .dlls then?

To add to the list of issues, windows .dll implementation makes some optimizations impossible, so some code can run significantly faster when linked statically.
 
Read Message
Read Message
Read Message
Previous Topic: Vector deep copy constructor
Next Topic: Execute problems with Ultimate++
Goto Forum:
  


Current Time: Fri Jul 04 19:01:17 CEST 2025

Total time taken to generate the page: 0.02880 seconds