65,189
社区成员




PIPEINST* Pipe = (PIPEINST*)GlobalAlloc(GPTR, sizeof(PIPEINST)*INSTANCES); // success
PIPEINST* Pipe = new PIPEINST[INSTANCES](); // failed
PIPEINST* Pipe = (PIPEINST*)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(PIPEINST)*INSTANCES); // success
PIPEINST* Pipe = (PIPEINST*)LocalAlloc(LPTR, sizeof(PIPEINST)*INSTANCES); // success
PIPEINST* Pipe = (PIPEINST*)malloc(sizeof(PIPEINST)*INSTANCES); //failed