I have been working on some legacy C++ code that uses variable length structures (TAPI), where the structure size will depend on variable length strings. The structures are allo
You'd could cast back to a BYTE * and the delete:
delete[] (BYTE*)pStruct;