![]() |
CXTPPropExchange Section Name and Property name |
Post Reply ![]() |
Author | |
cpedro ![]() Newbie ![]() ![]() Joined: 30 July 2008 Location: Portugal Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 30 July 2008 at 6:14am |
/* i intend to read a write data structures using the CXTPPropExchange class, for that i planned to use a recursive function that read through the objects and retrieved it's children and read it's properties. i having some trouble reading the data in the CXTPPropExchange objects, despite my eforts it seems that i can't read a section name, nor a property name from the object. could you please confirm that there is a way to retrieve this data from the CXTPPropExchange object. bellow is a sample of what planned to do. */ void read_CXTPPropExchange(CXTPPropExchange* px) { CXTPPropExchangeEnumerator* px_enum = px->GetEnumerator(/*?????*/); POSITION enum_pos = px_enum->GetPosition(); while (enum_pos) { CXTPPropExchange* px_child = px_enum->GetNext(enum_pos); /* is there a way to get the section name of the px_child ?? */ read_CXTPPropExchange(px_child); /* is it possible to retrieve not only a property's value but also it's name, using some option the the PX_ functions ? */ } } |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Sorry, it was not designed to be used this way. You have to know sections and attibutes names.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |