>> I have learned how to call the RasDial.exe program in Winnt 4.0. However
>> in Windows 95,
>> there seems to be no such program. Rather, you call the RasDial function
>> from the RASapi32.dll.
>> So far my research has only revealed the C and C++ versions of the call.
>> It is not clear yet,
>> how to make the call from Visual FoxPro. Suggestions welcome!!!
>
>Have a look at the DECLARE - DLL command. This lets you call a .DLL
>function directly.
>
>See previous threads about problems with structures containing pointers,
>though.
>
>/Paul
_RASDIALPARAMS does not contain a pointer, only a double word indicating its length as the first member of the structure. The only problem would be writing a routine to convert the numeric into the appropriate bytes in the appropriate order. This isn't really all that difficult, so it's a minor problem.
George
George
Ubi caritas et amor, deus ibi est