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 » U++ Library support » U++ Core » How to know if a package is loaded
Re: How to know if a package is loaded [message #29503 is a reply to message #29497] Mon, 25 October 2010 08:37 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 24 October 2010 16:17

How a cpp source can know if a package is loaded?

Imagine a general purpose library that includes some feature for GridCtrl package. If the programmer uses this package but s/he does not include GridCtrl, there will be a linking error.




Does not it give a nice and simple answer? Smile

BTW, the case described above is a bug of the library - it should have add "GridCtrl" in its 'uses'.

Mirek

[Updated on: Mon, 25 October 2010 08:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RichPickToValue PROPOSAL
Next Topic: First use of SetVppLogName will call sOpenVppLog twice
Goto Forum:
  


Current Time: Fri Jul 18 12:01:01 CEST 2025

Total time taken to generate the page: 0.03432 seconds