[Lazarus] Register Package Help

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 2 16:20:26 CEST 2008


On Fri, 02 May 2008 09:09:04 -0400
Lee Jenkins <lee at datatrakpos.com> wrote:

>[...]
> >> The unit source name is:
> >>
> >> pos_button.pas
> >>
> >> I named the .lpk file:
> >>
> >> posbutton.lpk
> >>
> >> I figured that the names should not be exact, but I suppose that
> >> the IDE somehow stripped the underscore ?
> >>
> >> At any rate,
> >>
> >> 1. I created the source file first.
> >>
> >> 2. Create the packages and added through "Add Unit" tab.
> >>
> >> 3. Saved the lpk file as posbutton.lpk
> >>
> >> 4. Compiled it and that is when it overwrote my source file.
> > 
> > Here it works. That means, it does not strip the underscore. The
> > only place where underscores are stripped are in the widgetsets for
> > labels. I don't see any relationship.
> > Can you reproduce it?

Any news?


> > I added a check in svn 15029 to forbid naming a package as a unit.
> 
> Mattias,
> 
> Is this included in snapshots?  I have problems when trying to build
> from sources on Windows, but I'll download the latest snapshot this
> weekend and give it a go again and see if I can get it to replicate
> the problem or not.

Snapshots are built daily.

Mattias



More information about the Lazarus mailing list