Hi All,
I'm trying to install the attached component (intex.pas).
I have created a package and added the unit "intex.pas" to it. When I compile it I get this error:
/home/user/.wine/drive_c/pew_ink/Games/Frog/Delphi_source_code/Frog/Lazarus_1.4_alpha/intex.pas(41,43) Fatal: Can't find unit WinTypes used by intex
From the "intex.pas" file:
uses WinTypes, WinProcs, SysUtils, Classes;Note: I realize that this is old source code. I'd be quite happy to settle for a modern component which does the same thing.
From the file "intex.pas"
// ******************************************************************
// TInTex v1.0
// TInTex is a string holder designed to hold text inside the exe
// file for use during run time. There are other methods of
// achieving a similar result but TInTex is simple to use and
// understand, small and does a little more than just hold strings!
// Text is held in a strings object and can be simply a single line
// or a whole text file.
// TInTex.Strings has all the methods of TStrings so can be to some
// extent searched, read from and written to and the strings
// manipulated or deleted. See TStrings help for more information.
// Text can be broken into sections, each identified by a heading
// in the format "[heading]". Each section can be text or in the
// same format as an INI file. Each section can be individually
// retrieved; useful for loading text into boxes or lists and
// messages. You can also retrieve a single value, section values or
// section names if in the format Name=Value and section headings.
// TInTex can contain a combination of both formats but each section
// must have a heading.
// Text is loaded at design time using the string List Editor and
// saved with the exe.
// You can add strings at run time but they will not be saved when
// the exe closes nor will any manipulation of strings. You can
// save the contents to a file or stream and load from a file or
// stream ..... and more, try it.
// This code is FREEWARE and you can do with it what you will.
// If you have any suggestions to improve or enhance the code,
// please let me know.
//
// FileName: Intex.pas (TInTex v1.0)
// Author: Brian Shepherd
// Date: 18/07/99
// email:
//
// ******************************************************************
unit intex;
interface
uses WinTypes, WinProcs, SysUtils, Classes;[snip]
Regards,
PEW
