Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Win32API funcions on FPW26
Message
From
21/07/2003 16:48:58
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00810180
Message ID:
00812147
Views:
17
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
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform