We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, in my CPP project, on asynchronous task must have access to lot of information of a class, so does it is possible to defined a task as a class member ??
When I try to define a __task as a class member, the compiler write :
error: #504-D: nonstandard form for taking the address of a member function
class wPEA{ __task void DispGraphAsync(); } __task void wPEA::DispGraphAsync() { while(1){ ... } }
Thanks you in advance
See Robert Mcnamara's post here:
http://www.keil.com/forum/docs/thread16185.asp