Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Mufid Hadzic
  Where is Mufid Hadzic?
 Sarajevo
 Bosnia and Herzegovina
 Mufid Hadzic
 Tags
Subject: RE: pass structure to api function
Thread ID: 22946 Message ID: 22948 # Views: 29 # Ratings: 0
Version: Visual FoxPro 7 Category: Win32API programming
Date: Wednesday, April 30, 2003 2:36:44 PM         
   


> how to pass this data sructure in api function WNetEnumResource
> Private Type NETRESOURCE
> dwScope As Long
> dwType As Long
> dwDisplayType As Long
> dwUsage As Long
> pLocalName As Long
> pRemoteName As Long
> pComment As Long
> pProvider As Long
> End Type
>
> if I use class, I pass more information that i need, example: parent class, and some other properties of class, if I pass like array I get error, invalid address.
> vfp

Hi,

Maybe you can use the STRUCT class from the download section.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts

COMPLETE THREAD

pass structure to api function Posted by Mufid Hadzic @ 4/30/2003 2:34:10 PM
RE: pass structure to api function Posted by Eric den Doop @ 4/30/2003 2:36:44 PM