我正在使用WinDbg查看进程中的堆数,方法是dt_PEB@$peb。我得到以下信息,+0x088NumberOfHeaps:1现在根据AdvancedWindowsDebugging一书,Mostapplicationsimplicitlyusecomponentsthatcreatetheirownheaps.AgreatexampleistheCruntime,whichcreatesitsownheapduringinitialization.我在main处添加了断点,但我仍然可以看到只有一个堆在处理中。其次,我运行了以下代码,堆的数量仍然是1。BYTE*pAlloc1=NUL