SAMPLE: Flltest.exe Determines If FLL File Loads SuccessfullyLast reviewed: February 10, 1998Article ID: Q153525 |
|
2.60a 3.00 3.00b
WINDOWS
kbtool kbprg kbfile kbwebcontent
The information in this article applies to:
SUMMARYFlltest.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) respectively.
MORE INFORMATIONThe following file is available for download from the Microsoft Software Library: ~ Flltest.exe For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services 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 reference words: 2.60a 3.00 3.00b VFoxWin FoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |