On Thu Aug 10 15:29:24 2023 +0000, Gabriel Ivăncescu wrote:
If I place ccref in DispatchEx, I'll have to special case it in window (outer windows don't have dispex, so I'll have to conditionally do ccref incr/decr). Is that acceptable? As for describing the node, the main problem is that the name is in wide chars. I suppose adding an extra name field would be pretty redundant, but I think traversal happens a lot more than toString, not to mention that conversion to ASCII is lossy but not the other way around. So should I convert the current names to ASCII and then convert them in toString and use them directly in traversal, or convert them in traversal from Wide?
Actually we are already processing them in toString anyway (to add [object …] around it) so might as well do the ASCII→Unicode conversion there and use the name directly in traversal?