官网91y奖点兑换金币:给大家出个小编程题,看谁能做出来,做得最好

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 02:08:00
请您完成如下题目: ================================================================
编写一个程序,在此程序中运行a.exe,并使得a.exe认为是由explorer.exe运行它的。 ================================================================
给出程序的核心代码即可。

太简单了。。。
我给你delphi的做法

ShellExecute(FindWindow(nil,'Explorer'),'open','a.exe',nil,nil,sw_show);

ShellExecute是API函数,VB,VC也能用。