Home » Community » Newbie corner » THISBACK(function(parameter)) Error C2102
Re: THISBACK(function(parameter)) Error C2102 [message #37689 is a reply to message #37688] |
Fri, 02 November 2012 19:48   |
|
Hi nejnio
Thisback take reference to the function, with parameter passed to the function as another parameters to the THISBACK# macro. So it should be called like this:THISBACK(function1)
THISBACK1(function2,123)
THISBACK2(function3,123,"param")
...
I'm not even sure how it could even work for you with the one parameter function Probably its return type was matching something that THISBACK accepts...
Have a look at the reference and example programs, perhaps also reading and trying out the tutorial and figure out how ts might help I understand that some poeple (me included ) prefer to just play with the toolkit and figure out how it works by themselfs, but U++ contains so many unusual concepts and has quite steep learning curve, so following the tutorial and reading the manuals can help (and save you some frustration ).
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 14:27:38 CEST 2025
Total time taken to generate the page: 0.04755 seconds
|