Originally Posted by
Elroy
Hi xiaoyao,
Thanks for the read, but I'm not really interested in any multi-threading, and/or all the marshaling that comes with "sharing" data. Also, this is a portable (single EXE, no installation) project.
What I want is more a matter of "code convenience" than anything else. Once one of my option buttons is selected, there are several changes that might be made to a specific array within my UDT. I just want a "quick" way to make the changes to the specific array (the one specified by the selected option button).
There are several ways to skin this cat ... but I just like the way I've got my code organized. My UDT is 17 well-named dynamic arrays, and I'd like to keep it that way. I'd just like to take any one of those though, and alias it into a "common" variable for purposes of editing.
(One might suggest copying the specified array, making changes, and then put it back once the changes are done. However, there's lots of DirectX going on in this project, and I'd like all the changes to be dynamic on the DirectX viewport. I can re-render whenever changes are made. That's the easy part.)