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 » [SOLVED] I have a problem linking a LIB
Re: [SOLVED] I have a problem linking a LIB [message #32505 is a reply to message #28462] Mon, 23 May 2011 09:40 Go to previous messageGo to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi,

Sorry, Koldo : I was busy on others works... Thanks for your help Smile

Finally, I found the problem. Seems that I did not understand something about namespace upp... I had this code for a control :

#include <CtrlLib/CtrlLib.h>

NAMESPACE_UPP

#include "MyControl.h"

(code for this control...)

END_UPP_NAMESPACE


I just changed NAMESPACE_UPP to "using namespace Upp;"

#include <CtrlLib/CtrlLib.h>

//NAMESPACE_UPP
using namespace Upp;

#include "MyControl.h"

(code for this control...)

//END_UPP_NAMESPACE

... and it's working !

[Updated on: Mon, 23 May 2011 09:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to reference value of an item on a layout?
Next Topic: Control with fixed rate Height/Width
Goto Forum:
  


Current Time: Thu May 16 01:00:01 CEST 2024

Total time taken to generate the page: 0.06520 seconds