Announcement

Collapse
No announcement yet.

Samples & FindFirstFile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Walt, you guessed correctly. When you call the FindFirstFile function
    it returns a search handle that you pass to the FindNextFile
    function. Check the MSDN website for more info for a detailed
    explanation.

    Jeff

    ------------------

    Leave a comment:


  • Bob Houle
    replied
    Walt,

    The GetShortPathName function is explained in the Win32
    Programmer's Reference (Win32.hlp) It's available on the
    PowerBASIC web site at: http://www.powerbasic.com/files/pub/mstools/win32.zip

    --Bob


    ------------------


    [This message has been edited by Bob Houle (edited November 29, 2000).]

    Leave a comment:


  • Walt Decker
    started a topic Samples & FindFirstFile

    Samples & FindFirstFile

    SAMPLES:

    On the distribution disks in directory SAMPLES\COMMON there is a COMMON32.BAS. In the function, I believe it is named GetShort there is a reference to:

    GetShortPathName LongPath, ShortPath, SIZEOF(ShortPath)

    However, I am unable to find procedure GetShortPathName. Where is it?

    FINDFIRSTFILE:

    The Win32.INC lists functions FindFirstFile, FindNextFile, and FindClose. FindNextFile and FindClose require hFindFile as a parameter. Does FindFirstFile return hFindFile along with the file parameters?


    ------------------
Working...
X