Flltest.exe Determines if FLL File Loads Successfully

ID: Q153525


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a, 6.0
  • Microsoft FoxPro for Windows, version 2.6a


SUMMARY

Flltest.exe is a file that demonstrates C code that may be used to verify if an FLL will load successfully. This sample contains both a 16-bit and a 32-bit version of the code that can be run to test FLLs you may want to load under the 16-bit version of FoxPro for Windows (versions 2.6x) or the 32-bit version of Visual FoxPro for Windows (versions 3.x, 5.x, 6.0) respectively.


MORE INFORMATION

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

Flltest.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Sample C Code


   HANDLE hInst;

   hInst = LoadLibrary(lpCmdLine);
   if (hInst > 32)
   {
      MessageBox(0,"Success: FLL can load","",0);
      FreeLibrary(hInst);
      return TRUE;
   }
   else
   {
      MessageBox(0,"Failure: file is invalid","",0);
      return FALSE;
   } 

Additional query words: VFoxWin FoxWin kbfile

Keywords : kbfile kbsample kbVFp300 kbVFp500 kbVFp600 FxtoolLck
Version : WINDOWS:2.6a,3.0,3.0b,5.0,5.0a,6.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: November 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.