Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Win32API funcions on FPW26
Message
 
 
To
21/07/2003 16:48:58
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00810180
Message ID:
00812154
Views:
25
You're welcome.

>Sergey;
>>
>>You have to follow doc's to get it to work. :)
>>#Define MAX_FILENAME_LEN 256
>>SET PROCEDURE TO CALL32
>>SET LIBRARY TO home()+"FOXTOOLS" ADDITIVE
>>lhcall32 = Reg32("GetVolumeInformation", "Kernel32.dll", "ppippppi")
>>lhGV = RegFP("C@CL@L@L@L@CL", "L")
>>Store 0 to ser,i,j
>>Store space(256) to s,s2
>>lcVolume = "C:\"
>>= CallFn(lhGV, lcVolume, @s, MAX_FILENAME_LEN, @ser, @i, @j, @s2, MAX_FILENAME_LEN, lhcall32)
>>? ser
>>
>>
>It works amazing !!
>
>Maany Thanks !! a little delayed... (better than never)
>
> ;)
>
>Claudio
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform