PRB: FLL Created Without LCK API Functions Is InvalidID: Q140638 3.00 WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSYou may receive the error message "Library file <filename> is invalid" when using the SET LIBRARY TO command to load an .fll file created with the Library Construction Kit (LCK).
CAUSEThere appears to be a problem with .fll files that are created for Visual FoxPro that don't call any of the _Functions that are part of the FoxPro API. This is not the case with .fll files created in previous versions. The error appears to be caused by the fact that the DLL doesn't have any exports. Normally a valid .fll file will contain the DispatchAPI export.
WORKAROUNDCall an extraneous .fll function in the code.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce ProblemCreate an .fll file but don't add any of the Library construction Kit functions besides the FoxTable and FoxInfo structures:
FoxInfo myFoxInfo[] = {
};
FoxTable _FoxTable = {
};
Additional reference words: 3.00 VFoxWin KBCategory: kbtool kbprb KBSubcategory: FxtoolLck
|
Last Reviewed: December 12, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |