Dandruff
Member
|
RE: container of memory
try Chat.Data_chat.New().insert(0,"a string");
|
|
02-27-2011 08:19 AM |
|
Babulesnik
Member
|
RE: container of memory
(02-27-2011 08:19 AM)Dandruff Wrote: try Chat.Data_chat.New().insert(0,"a string");
Thanks, but does not work (
|
|
02-27-2011 11:47 AM |
|
Esenthel
Administrator
|
RE: container of memory
what do you want to achieve? display it in a List? you need to call List::setData
|
|
02-27-2011 11:50 AM |
|
Babulesnik
Member
|
RE: container of memory
(02-27-2011 11:50 AM)Esenthel Wrote: what do you want to achieve? display it in a List? you need to call List::setData
Yes, I want to add data to list an event. Chat.List_Chat::setData(Chat.Data_Chat);-defining a class member, I will not work
If implemented as:
Chat.Data_Chat.New().insert(0,"g");
Chat.List_Chat.setData(Chat.Data_Chat);
Error 1 error C2440: 'static_cast' : cannot convert from 'EE::Str *' to 'S_Chat *' d:\vs2010ultimatum\vc\include\esenthelengine\misc\misc.h 154
(02-27-2011 12:28 PM)Babulesnik Wrote: (02-27-2011 11:50 AM)Esenthel Wrote: what do you want to achieve? display it in a List? you need to call List::setData
Yes, I want to add data to list an event. Chat.List_Chat::setData(Chat.Data_Chat);-defining a class member, I will not work
If implemented as:
Chat.Data_Chat.New().insert(0,"g");
Chat.List_Chat.setData(Chat.Data_Chat);
Error 1 error C2440: 'static_cast' : cannot convert from 'EE::Str *' to 'S_Chat *' d:\vs2010ultimatum\vc\include\esenthelengine\misc\misc.h 154
Thank you all. Fixed List <Str>List_Chat; Everything works))
(This post was last modified: 02-27-2011 01:13 PM by Babulesnik.)
|
|
02-27-2011 12:28 PM |
|