3gstudent / Eventlogedit-evtx--Evolution

Remove individual lines from Windows XML Event Log (EVTX) files
260 stars 62 forks source link

About memcpy() #1

Closed GroLayer closed 4 years ago

GroLayer commented 6 years ago

When the program runs to memcpy() in DeleteRecord() on another computer, it crashes.

3gstudent commented 6 years ago

need more detail

GroLayer commented 6 years ago

Do you speak Chinese? 用VS2013在本地编译运行正常,但是编译后的exe在放到另一台主机上,程序运行到中途会崩溃,停止工作,检测到是在memcpy()这里停止工作了,换成memmove()也不行。DeleteRecordbyGetHandleEx.cpp这个工程

3gstudent commented 6 years ago

https://github.com/3gstudent/Eventlogedit-evtx--Evolution/blob/master/DeleteRecordofFile.cpp 这个能不能用