Information générale
Catégorie:
Fonctions API de Windows
>>I'm trying to call the NetFileEnum API function in VB5. I'm able to declare and call the function successfully, but am not sure on how to get the data from the buffer after the call. I know that the function only deals with a pointer to the buffer, but I need to get to this in my code. What is the structure of this buffer after the call? Anything special I need to do?
>
>While it's not VB, you might want to take a look at some of the sample VFP in my NETRSC.ZIP file - one of the examples uses WNetFileEnum, which unlike NetFileEnum, works on both Win9x and NT, It'll at least show you how to populate the members of the structure, and VFP syntax isn't that far from VB's.
I'll look into your file. Thank you.
My only difficulty is working with the pointers. I know I could use a control from somewhere to work with them, but you can't learn if you don't do. So, I'm driven (is that driven mad?? :-} ) to do it on my own.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement