CreateProcessBynum Lib" kernel32" [英] CreateProcessBynum Lib "kernel32"

查看:85
本文介绍了CreateProcessBynum Lib" kernel32"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dar All,



什么是CreateProcessBynum Libkernel32?

怎么用?



Dar All,

What is CreateProcessBynum Lib "kernel32" ?
how to use ?

Private Declare Function CreateProcessBynum Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal lpProcessAttributes As Integer, ByVal lpThreadAttributes As Integer, ByVal bInheritHandles As Integer, ByVal dwCreationFlags As Integer, ByRef lpEnvironment As String, ByVal lpCurrentDirectory As String, ByRef lpStartupInfo As STARTUPINFO, ByRef lpProcessInformation As PROCESS_INFORMATION) As Integer





此代码在windows xp中运行但不运行Windows 7



如何更改Windows 7中的行工作

pl帮帮我



this code run in windows xp but not run windows 7

how to change the line work in windows 7
pl help me

推荐答案

MSDN没有提及 CreateProcessByNum ,但 CreateProcess [ ^ ]文档可用。



在我看来你应该忘记旧的功能。使用.net等价物。看看这里:

进程和线程 [ ^ ]

Process.Start方法 [ ^ ]
MSDN is silent about CreateProcessByNum, but CreateProcess[^] documentation is available.

In my opinion you should forget about old function. Use .net equivalent. Have a look here:
Processes and Threads[^]
Process.Start Method[^]


这篇关于CreateProcessBynum Lib" kernel32"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆