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

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » C2143 Error on even simple window with just one label? Help? What happened?
Re: C2143 Error on even simple window with just one label? Help? What happened? [message #33002 is a reply to message #33001] Wed, 29 June 2011 18:11 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
silverx wrote on Wed, 29 June 2011 16:36

I added a button, and then did the SimpleWindow.lblA = "abc"; and I get the error again.

Attached is the changes, and I still get the error message.




Just use

lblA ="abc";
or
lblA.SetText("abc");

without SimpleWindow. in front of control.

Regards,
Luigi
 
Read Message icon7.gif
Read Message
Read Message icon8.gif
Read Message
Read Message
Previous Topic: Warning Heap memory leak when closing program
Next Topic: Compile Error with NOGTK flag
Goto Forum:
  


Current Time: Sat Sep 12 04:19:30 GMT+2 2026

Total time taken to generate the page: 0.00513 seconds