谢谢大虾了!!!

解决方案 »

  1.   

    BOOL CreateDirectory(
      LPCTSTR lpPathName,
      LPSECURITY_ATTRIBUTES lpSecurityAttributes
    );
      

  2.   

    LPSECURITY_ATTRIBUTES这个是什么啊?
      

  3.   

    int SHCreateDirectory( 
        HWND hwnd,
        LPCWSTR pszPath
    );hwnd
    [in] Handle to a parent window. This parameter can be set to NULL if no user interface is displayed.
    pszPath
    [in] Pointer to a NULL-terminated Unicode string that contains the fully-qualified path of the directory. This string should have no more than MAX_PATH characters, including the terminating NULL character.
      

  4.   

    怎么在MSDN里面找不到这个函数啊?
    对了,新建文件夹的名字通过哪个参数输入啊?
      

  5.   

    SHCreateDirectory这个函数是不是没有写对啊?
    编译也通不过的!!!