[AccessD] Selecting a directory

Stuart McLachlan stuart at lexacorp.com.pg
Wed Feb 9 16:03:42 CST 2005


On 9 Feb 2005 at 9:07, Hale, Jim wrote:

> I can't get it to compile. It doesn't like SHGetPathFromIDList. Am I missing
> a reference? TIA
> Jim Hale

Sorry, I left two declarations out (I make it a habit to keep all my API 
declarations and Types in a single module)

Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _
   Alias "SHGetPathFromIDListA" _
  (ByVal pidl As Long, _
   ByVal pszPath As String) As Long
    
Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long)

-- 
Stuart





More information about the AccessD mailing list