how to make a function that return a array of string in assembly that returns no of directories and files in a specified folder

how i translate this function in assembly language,actually i confused in array of strings translation
in assembly

private function getdirfiles() as string()
      dim sDir() as string
      dim hFile as long
  hFile=FindFirstFile("C:\*.*",wfd);
  i=0;
redim sDir(0); 
sDir(i)=wfd.cFileName
  do while FindNextFile(hFile,wfd)
    redim preserve sDir(i);
      sDir(i)=wfd.cFileName;
        i=i+1;
  loop
getdirfiles=sDir
end function


plz help me in translating the code
how declare array of string equivalent in asm
how to redim preserve equ in asm
to return array of string  equ in asm
Posted on 2006-09-03 07:26:22 by sihotaamarpal
Have you attempted to read Iczelion's tutorials, the x86 Book or any other source that will guide on you the principles of programming, assembly language and/or the Win32 API?

Based on every single one of your posts, sihotaamarpal, I would have to say that is an astounding "NO"... as if the VisualBasic code wasn't a blaring indication. Your posts are pushing my tolerance of our "spoon feed me source code" rules, as that is all they have been in a programming sense.

I am going to skip any kind of rant trying to motivate you into being serious about programming, as I think it will be a waste of time.

I am locking this post... along with any future posts that show lack of genuine effort on your behalf.
Posted on 2006-09-03 08:16:21 by SpooK