On 5/4/21 3:06 PM, Imperatorn wrote: >> Is there any limitation as to the number of pointer indirections?
No. >> I have a construct: >> a.b.c.d = x; >> where all the variables are pointers to struct (the same struct). >> >> This fails with 'Access Violation', >> but if I change the code to: >> >> temp = a.b.c; >> temp.d = x; >> >> everything seems to work.Sounds like "undefined behavior" somewhere in the program, effects of which can be confusing.
Ali