EnableShellOpen( )是在命令行中执行程序,就像在dos下一样。
你的程序不能运行,我看多半是动态链接库连接有问题。
你可以是有静态链接库,在setting中选Use MFC in a  static Labrary.