FLibrary Function CallsUpdated: 09/08/2011 |
|
Flibrary.DLL is a Dynamic link library written in C/C++ to expand functionality of other programming languages.
|
      C/C++ - extern "C" LPTSTR FLibVersion();       VFP/Basic - declare string FLibVersion in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int PASCAL EXPORT WaitBox(char Message[],int style,int Seconds,char Header[])       VFP/Basic - declare integer WaitBox in "FLibrary.dll" string,integer,integer,string
Parameters: style - Specifies the buttons and icons that appear in the dialog box, the default button when the dialog box is displayed, and the behavior of the dialog box.
One value from each of the preceding tables can be the added together for different style messages. For example 1+48+512 will display a waitbox with the ok and cancel buttons, an exclamation mark, and the cancel button is the default (third button). Notice that the first button is not an option for style 1 Seconds - The time in seconds (0-9999) the wait window will timeout if no option is selected. Seconds - The formatted string to display in the title bar of the dialog box.
Return Value:
Example:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Go Top |
|
      C/C++ - extern "C" BOOL PASCAL EXPORT ScreenRes(int x, int y);       VFP/Basic - declare short ScreenRes in "FLibrary.dll" integer,integer
Parameters: Y - The New Y resolution value.
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int PASCAL EXPORT GetResX();       VFP/Basic - declare integer GetResX in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int PASCAL EXPORT GetResY();       VFP/Basic - declare integer GetResY in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" long PASCAL EXPORT InitConnection(char ConnectionFile[]);       VFP/Basic - declare integer InitConnection in "FLibrary.dll" string
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" long PASCAL EXPORT HangUp(DWORD dwconnect);       VFP/Basic - declare integer HangUp in "FLibrary.dll" integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int CreateConnection(char cName[]);       VFP/Basic - declare integer CreateConnection in "FLibrary.dll" string
Parameters:
Return Value:
Remarks:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int RestartComputer();       VFP/Basic - declare integer RestartComputer in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int AddRegistryEntry(char SubKey[],char StringValue[],char Value[]);       VFP/Basic - declare integer AddRegistryEntry in "Flibrary.dll" string,string,string
Parameters:
Return Value:
Remarks:
Example:
|
| Go Top |
|
      C/C++ - extern "C" BOOL PASCAL EXPORT PingTest(char ComputerName[]);       VFP/Basic - declare short PingTest in "FLibrary.dll" string
Parameters:
Return Value:
Remarks:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT SystemFolderPath();       VFP/Basic - declare string SystemFolderPath in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT DeskTopFolderPath();       VFP/Basic - declare string DeskTopFolderPath in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT TempFolderPath();       VFP/Basic - declare string TempFolderPath in "FLibrary.dll"
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT GetFolderPath(int iCSIDL);       VFP/Basic - declare string GetFolderPath in "FLibrary.dll" integer
Parameters:
Return Value:
Example:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT GetWindowsVersion(BOOL bShowNumbers=FALSE);       VFP/Basic - declare string GetWindowsVersion in 'Flibrary.dll' integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" BOOL PASCAL EXPORT FormatDrive(int iDrive);       VFP/Basic - declare short FormatDrive in "FLibrary.dll" integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" BOOL PASCAL EXPORT RemoveFile(char cfile[],BOOL bConfirm=TRUE);       VFP/Basic - declare short RemoveFile in "FLibrary.dll" string, short
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT ExecuteSoftware(char cProgram[],char cParam[],BOOL bAdmin=FALSE,DWORD dwModal=0);       VFP/Basic - declare string ExecuteSoftware in "FLibrary.dll" string, string,integer,integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" int PASCAL EXPORT FTP(char IpAddress[],char Source[],char Destination[],
char User[],char Password[],int iCommand,BOOL bProgBar=FALSE);
      VFP/Basic - declare short FTP in "Flibrary.dll" string,string,string,string,string,integer,integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT Host(char cResolve[]);       VFP/Basic - declare string Host in "FLibrary.dll" string
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT ExtractIconToFile(char cSourceFile[],char cDestFile[] = _T("")
,int iIconResource =0,BOOL bReplace=FALSE,int iIconSize=0);       VFP/Basic - DECLARE string ExtractIconToFile IN 'Flibrary.dll' string,string,integer,integer,integer
Parameters:
Return Value:
Example:
|
| Go Top |
|
      C/C++ - extern "C" LPTSTR PASCAL EXPORT HwndToImage(HWND hWnd,char cDestFile[]);       VFP/Basic - DECLARE string HwndToImage IN 'Flibrary.dll' integer,string
Parameters:
Return Value:
Example:
|
| Go Top |