I understand how to pin pointers as they are declared, but for some
reason, I can'f figure out the syntax for predaclaring a pointer and
then pinning in afterward like you would if you wanted to embed an
unmanaged object: Assumingthat pAudioU has alread been defined
as the appriate type of pointer,
Instead of
pAudioU = new __pin AudioDriver_U; // syntax error
it seems necessary to take the extra step of creating an intermediate
pointer and then assigning that:
AudioDriver_U __pin *U = new AudioDriver_U;
pAudioU = U;
Am I overlooking some syntactical subtlety?