PrintOutNode(node,0); emplate void CTestTree::PrintOutNode(const TNode& node) { wchar_t strOut[80]; strOut[0]=L'\0'; swprintf(strOut,79,L"Parent:%u Info: 0x%02x",node.Parent, node.Info); TNode tempnode; for(unsigned int n=0;n<=(node.Info & cKeyCountMask);n++) { swprintf(strOut,79,L"Child:%u Handle:%u",n,node.Child[n]); Read(node.Child[n],0,sizeof(TNode),tempnode); PrintOutNode(tempnode);//Rekursion } } AUSGABE: strOut 0x0012ec14 "Parent:0 Info: 0x01" wchar_t [80] strOut 0x0012ec14 "Child:0 Handle:2260440" wchar_t [80] strOut 0x0012ea24 "Parent:2260576 Info: 0x83" wchar_t [80]//erste Ausgabe nach Rekursionsaufruf