Jon, thank you for your proposals as well as for your e-mail but due to lacking knowledge in C-programming and more, it is very difficult for me (technical user, not programmer) to understand exactly what to do. As an example we take this RasDial question. I have searched for information everywhere on the net like MSDN or by using different kinds of search engines but I end up with the same information as follows:
DWORD RasDial(
LPRASDIALEXTENSIONS lpRasDialExtensions,
// pointer to function extensions data
LPCTSTR lpszPhonebook, // pointer to full path and filename of
// phone-book file
LPRASDIALPARAMS lpRasDialParams,
// pointer to calling parameters data
DWORD dwNotifierType, // specifies type of RasDial event handler
LPVOID lpvNotifier, // specifies a handler for RasDial events
LPHRASCONN lphRasConn // pointer to variable to receive
// connection handle
);
For me it does not help.
In VFP it is, like you say, possible to use different API-functions included in DLL-files but frankly speaking, it is very hard to find information about how to write the code exactly so the system will accept it. This is pity because I’m convinced that if this information would be available a new world of powerful functions would be opened for you. With your example: DECLARE INTEGER RASFunction IN RasApi32, I suppose you mean with RASFunction any of the RAS-functions included in the RasApi32.dll file. My simple need is to use the RasDial with the following parameters: Rasphone entry, User name and Password. If I do as follows: DECLARE RasDial IN RasApi32 Character lRasphEntry, Character lName, Character lPassword and
=RasDial(lRasphEntry, lName, lPassword) after giving values to the parameters like
lRasphEntry=”My Entry”
lName=”My Name”
lPassword=”My Password”
I receive the message “Too many arguments”.
I try but I do not understand what to do to turn it right, so please help me to solve my problem.