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
How to know if a package is loaded [message #29497] Sun, 24 October 2010 22:17 Go to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello all

A simple question: 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.

Of course it is possible to use flags in the main package configuration but, is there another cleaner way?


Best regards
IƱaki
 
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: Sun May 12 09:00:50 CEST 2024

Total time taken to generate the page: 0.02534 seconds