U++ framework
Do not panic. Ask here before giving up.

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: 14291
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 Oct 23 15:23:20 GMT+2 2026

Total time taken to generate the page: 0.00740 seconds