In my project I use follow line of code:

SET CLASSLIB TO mybase IN mylib.app ADDITIVE

where mylib.app is a class library and mybase one of the VCX classes
included into
mylib.app. When I run my project (in development mode) everthing works fine,
but when I try to comple my project I get an error message, saying:
'Unable to find Visual Class Library mybase'. If I click Ignore EXE file
will be built
and will work as excpected. What I need to do in order to supress that
message?
Thanks

Re: SET CLASSLIB TO ... by Olaf

Olaf
Thu Jan 13 08:18:34 CST 2005

> 'Unable to find Visual Class Library mybase'. If I click Ignore EXE file
> will be built
> and will work as excpected. What I need to do in order to supress that
> message?

I'd say including the app as a file in your project and excluding that
from compilation may help. It's the same thing with stored procs
in dbc which are not included in the project.

Or you simply ignore it. As long as the exe finds the app the classlib
will be known and work. you may also consider using NEWOBJECT()
with it's extended parameter set. You don't need a SET CLASSLIB
this way, as you can give class, classlib and app as parameters of
NEWOBJECT().

Bye, Olaf.