Microsoft KB Archive/153525

From BetaArchive Wiki
Knowledge Base


Article ID: 153525

Article Last Modified on 3/15/2005



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 3.0b Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft FoxPro 2.6a Standard Edition



This article was previously published under Q153525

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:

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services


Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

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: kbinfo kbdownload kbfile kbsample KB153525