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 » THISBACK(function(parameter)) Error C2102
THISBACK(function(parameter)) Error C2102 [message #37688] Fri, 02 November 2012 18:05 Go to previous message
nejnadusho is currently offline  nejnadusho
Messages: 60
Registered: October 2012
Member
Hi,

I am trying to pass a THISBACK(function(parameter)) and it gives me an error.

                 int x = 10;
                 //On click event new user data submition
		tab1.userDataButton <<= THISBACK(ClickUserDataButton(x));


Quote:


C:\MyApps\SeniorProject\Admin.cpp(26) : error C2102: '&' requires l-value



If the function does not take parameters it works otherwise it doesn't.
Why?


Thank you very much.

nejnio
 
Read Message
Read Message
Read Message
Previous Topic: TabDlg Remove 'Close' Button
Next Topic: TabDlg Change Default Background Window
Goto Forum:
  


Current Time: Sat Jul 05 04:44:00 CEST 2025

Total time taken to generate the page: 0.03749 seconds