
undocumented Shell32.dll calls
In December 1998's copy of ".EXE" Dave Jewell give us an insight into the
undocumented API calls in Shell32.dll. While I appreciate that you shouldn't
use undocumented APis due to the possibility of them not being supported in
future, I thought I'd give them a go.
Now the article was written with
Pascal programmers in mind but "it
shouldn't be too hard to convert these calls to VB or C"
As an example I tried to access the suggested "PickIconDlg" call. In the
article Dave tells us this has the ordinal Number of 62. now I assume this
is Hex, but I can't see ordinal D62 or H3E. Anyway I tried to convert his
code and came up with the following.
'-----------------
Declare Function PickIconDlg Lib "shell32.dll" (howner As Long, ByVal sfile
As String, max As Integer, ByVal iindex As Integer) As Boolean
'-----------------
not worrying for the moment about whether I've got the types of the
parameters correct , of more pressing concern is that when called,. VB5
produced
"can't find dll entry point pickicondlg in shell32.dll"
what am I doing wrong? I even tried using pickicondlgA in vague
desperation...
please help! its got me going....
--
Tim Webber