General information
Category:
Windows API functions
Its the RASDIALPARAMS structure that I am concerned with who's structure is supposed to be
typedef struct _RASDIALPARAMS { DWORD dwSize;
TCHAR szEntryName[RAS_MaxEntryName + 1];
TCHAR szPhoneNumber[RAS_MaxPhoneNumber + 1];
TCHAR szCallbackNumber[RAS_MaxCallbackNumber + 1];
TCHAR szUserName[UNLEN + 1];
TCHAR szPassword[PWLEN + 1];
TCHAR szDomain[DNLEN + 1] ;
#if (WINVER >= 0x401)
DWORD dwSubEntry;
DWORD dwCallbackId;
#endif
}RASDIALPARAMS;
I'm confused, is that an array or a string? - if its a string how do I represent members of the structure who's values are null such as "CallBackNumber". If you have time could you expand on "byte and word reversal" ?
Many, many thanks !
Gerry.
>>If you are using a Win32 API function that expects a pointer to a structure as >Gerry,
>
>Yes build the C struct in a VFP string and send a reference to the string to the DLL. You'll have to make the string byte by byte what the struct internal storage looks like including byte and word reversal for ints.
one of its parameters, how do you create the structure in Fox - do you use an array and then use '@' pointer to character ??
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only