>Edward
>
>Your right Sir and actually it has a link in calling a DLL and my problem was i did'nt how convert it or what parameter type will i used in VFP using Declare Statement..
>
>I have a VB Code that has Define Data Structure like this...
>
>*
>* SP_INIT : initialize dAta Structure..
>
>type SP_INIT
> istatus As long
> SEnv as String * 10
> Sversion as String * 5
>end type
>
>* VB PROTOTYPE
>*
>* Declare Function SP_initialized Lib "SP_W32" (ocinitdata as Ocinit) as Long
>
>I try to convert it to VFP statement but i'm stack with VB type statement like
>the example above..
>
>* VFP Prototype
>*
>* Declare long SP_initialized "SP_W32" ocnitdata as ??????
>
>i did'nt know what parameter type will i used... I'm thinking it is posible to used function statement in VFP .
>
>Thank again for you responsed ...
>osmar
Look at DECLARE-DLL command. It should satisfy you.
Edward Pikman
Independent Consultant