Message 1 of 5
Struct Resbuf BRRRRRR.....
Not applicable
04-13-2008
03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
well is seems i'm still not getting the hang of it:
I want to add Xdata to objects, some of these entities need to have
extra xdata.
xd=acutbuildlist(-3, 1001, "MYAPPDATA", 1040, Scale, 1040, ref, RTNONE);
xd2 = xd; // i think i copy xd into xd2 wich needs more xdata
AddXdata=ads_acutbuildlist(1000, _T("EXTRA_STRING for XD2"), RTNONE);
append_rblist (&xd2, AddXdata);
Now it appears xd == xd2;
but i don't want this, i want xd with 2x 1040 and xd2 same as xd but
with the extra 1000.
What am i'm doing wrong ?
How do i copy xd into xd2 and add extra data to the xd2 without changing
xd ?
thank you !!!
I want to add Xdata to objects, some of these entities need to have
extra xdata.
xd=acutbuildlist(-3, 1001, "MYAPPDATA", 1040, Scale, 1040, ref, RTNONE);
xd2 = xd; // i think i copy xd into xd2 wich needs more xdata
AddXdata=ads_acutbuildlist(1000, _T("EXTRA_STRING for XD2"), RTNONE);
append_rblist (&xd2, AddXdata);
Now it appears xd == xd2;
but i don't want this, i want xd with 2x 1040 and xd2 same as xd but
with the extra 1000.
What am i'm doing wrong ?
How do i copy xd into xd2 and add extra data to the xd2 without changing
xd ?
thank you !!!