获取命令行参数的时候, 使用CommandLineToArgvW, 它就一直提示没有定义. 是一个win32程序, 都能使用GetCommandLine函数.大虾帮帮忙.
谢谢了先.

解决方案 »

  1.   

    vc是vs的一部分
    #include<shellapi.h>
      

  2.   

    Minimum DLL Version Shell32.dll version 6.0 or later 
    Custom Implementation No 
    Header Shellapi.h 
    Import library Shell32.lib 
    Minimum operating systems Windows NT Workstation 3.5, Windows NT Server 3.5, Windows 2000 Professional, Windows 2000 Server, Windows XP, Windows Server 2003 
    Unicode Implemented as Unicode version. 
      

  3.   

    我#include <shellapi.h>, 他都可以自动补全, 直接节都操碎了. 估计是vs哪里装错, windows下写程序有一种痛苦的说, 不用这个函数. 谢谢大家了.
    散分