I’m trying to make a browser for find a PDF file in directory (C.
I find a way for a windows XP 32 bits that works, but I have a Windows 7 64 bits.
When I use the code a error appears in the two lines:
1-Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal pszPath As String) As Long
2-Private Declare Function SHBrowseForFolder Lib "shell32.dll" Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long
I recognize that the error is the use of a 32 bits dll in a 64 bits system.
My question is if you can help me make the transition between the 32 bits system and 64 bits system.
The original code was retrieved from the website:
Code courtesy of Terry Kreft
I find a way for a windows XP 32 bits that works, but I have a Windows 7 64 bits.
When I use the code a error appears in the two lines:
1-Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal pszPath As String) As Long
2-Private Declare Function SHBrowseForFolder Lib "shell32.dll" Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long
I recognize that the error is the use of a 32 bits dll in a 64 bits system.
My question is if you can help me make the transition between the 32 bits system and 64 bits system.
The original code was retrieved from the website:
Code courtesy of Terry Kreft