Re: Differences between .exe and development version by RickGangwisch
RickGangwisch
Thu Feb 02 16:28:21 CST 2006
Paul
Thanks for pushing me on the SET CLASSLIB. It turns out that the data
conversion PRG had reset the class libraries. Since this was being run only
upon initial installation, this is why the this error kept coming up only
then. It really helps to have someone else point out the obvious after one
has banged their head against the wall trying to find the source of a bug.
Thanks again for the help!
Rick
"Rick Gangwisch" wrote:
> Paul
>
> I'll be glad to give that a try. I'll let you know tomorrow (the source is
> on my laptop). Thanks for the response.
>
> Rick
>
> "Paul Pedersen" wrote:
>
> >
> > "Rick Gangwisch" <RickGangwisch@discussions.microsoft.com> wrote in message
> > news:4DD942DE-567C-41B7-9BB9-3FB13491E209@microsoft.com...
> > > Paul
> > >
> > > SET CLASSLIB is in the first group of commands in the main.prg. To give
> > > you
> > > an example of what happens, I open a form that has a pageframe. When the
> > > user clicks on a page, I use createobject to place a container class on
> > > that
> > > page depending on the situation. That class came from the same class
> > > library
> > > as others on the form so I know that the class library is available.
> >
> > Maybe, but I'm not entirely convinced. Check SET("classlib") before creating
> > that object.
> >
> >
> > > What is
> > > especially odd is that when it eventually "finds" the class after a few
> > > times
> > > of opening other forms, the problem goes away.
> >
> > That's not surprising. Once FP finds the class library, it remembers where
> > it was.
> >
> >
> > > That's fine if I only had
> > > one installation to deal with, but I can't see myself asking clients to
> > > "just
> > > play around with the program until it starts working".
> >
> > Ha ha!
> >
> >
> >
> >
> >