經安全檢測,此網站為安全網站,請放心前往原始網址!

delphi invalid pointer operation - Stack Overflow

The problem is that you are modifying the address held in the variable ptr. You call AllocMem to allocate a buffer, which you refer to using ptr.

www.google.com.tw

網址安全性掃描由 google 提供