GetShortPathName API said, "No Entry Point in kernel32.DLL"
Posted on 1998-05-17
What is wrong with this code?
Private Declare Function GetShortPathName Lib "kernel32" _
(ByVal lpszLongPath As String, _
ByVal lpszShortPath As String, _
ByVal cchBuffer As Long) As Long
Private Sub Form_Load()
Dim strShort As String
Dim nLenShort As Long
nLenShort = 0
strShort = Space(255)
' strShort = String(255," ")
GetShortPathName "C:\Program Files", strShort, nLenShort
This I get an error saying, "No Entry Point in the kernel32.dll".
I'm running Win95 with IE4.01 and VB5 Enterprise..