且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CreateProcess失败GetLastError返回234?

更新时间:2022-04-30 23:14:01


感谢您在这里发帖。根据我的搜索,当这个新块传递给createprocess()时,如果块太大而无法满足
的原因,那么该函数会失败并且getlasterror()返回ERROR_MORE_DATA


这里有一个演示,解释了为什么得到错误消息。我测试了样本,但我没有per1.exe文件。所以我收到3错误消息(
系统找不到指定的路径)。根据尺寸你可以尝试改变尺寸,而不是我们看到的输出。如果你有情况请告诉我。

http://www.nntp.perl.org/group/perl.perl5.porters/2006/07/msg114834.html


希望我的回复可以帮到你。


***的问候,


Hart

Hi,

Thanks for posting here. Based on my search when this new block is passed to createprocess(), that function fails if the block is too large for whatever reason and getlasterror() return ERROR_MORE_DATA

Here has a demo that explain why get the error message. I have tested the sample but I don’t have the per1.exe file. So I get the 3 error message(the system can not find path specified). According to the size Could you please try to change the size, than we see the output. If you have situation please tell me.

http://www.nntp.perl.org/group/perl.perl5.porters/2006/07/msg114834.html

Hope my reply can help you.

Best Regards,

Hart