Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Converting code in objective-c

Rank

Total Posts: 3

Joined 2016-02-03

PM

since last few days i m trying to convert below code in objective-c but is shows error "can not use "this" operator.
is there any relevant code that i can use to convert in objective-c?



uiDSIThread = DSIThread_CreateThread(&Demo;::RunMessageThread, this);
     
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

Afaik Objective-C doesn't have a "this" keyword but a "self" variable instead.

While I can't comment on the chance of easily converting the C++ code to Objective-C I'm sure that Google will be your friend in finding answers for the problems that you might come across.

Cheers,
OMB      
Rank

Total Posts: 3

Joined 2016-02-03

PM

i've tried to find its solution over the google and many developer forums such as stack overflow,github but still it is unanswered.