Sukesh Hoogan

thanks for the hint, but my issue is different.

The error with the superclass is only a example.

The problem is: How can i deploy my classes, so as you can not see the code
but use the classses in your project!

Comparable:
I can deploy only a exe-file (or dll, ...) from the c++ code!

Here the answer from Intersystems:
----------------------------------------------------------------------------
----------------------
This is because you did not exported class 'mypackage.A', which is needed by
class 'mypackage.B'
during compilation. You exported only generated routine (OBJ code) for class
A, which is not
sufficient. You need also to export class A in 'cls-code' to get the
definition of the class A and to be able
to compile class B.
----------------------------------------------------------------------------
----------------------

Mauro


"Sukesh Hoogan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Mauro
>
> Check the thread  "Compiler Troubles"  - Max Sebastini dated 9th July 2004
>
> Regards
>
> Sukesh Hoogan
> e-Linear Enterprise Solutions
> Bombay, India
> http//personal.vsnl.com/sukesh_hoogan (updated : June12 , 2004)
>
>
>
>
> Mauro <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello
> >
> > I have export two classes (Class A and Class B; B inherit A) with the
> > classmethod "Export".
> > One class (A) only as obj-code and the other class (B) as cls-code.
> > I have import the code into an other namespace (same server) without any
> > problems.
> > But i can not compile the imported cls-class (B).
> >
> > Cache Objects Version 5.0.5105.0 on Windows 2000 Server
> >
> > The error message are:
> > ERROR #5373: Klasse 'mypackage.A', von 'mypackage.B:super' benutzt,
> > existiert nicht
> >
> > How can i solve this problem! (I will not export all classes as
cls-code!)
> > With the Cache-Explorer i can see the obj-class, it exist!
> >
> > Export:
> > ##class(%SYSTEM.OBJ).Export(classlist, "myfilen.xml", "", .errorstr)
> >
> > Import:
> > do ##class(%SYSTEM.OBJ).Load("myfilen.xml", "", .errorlog, .loadedlist,
0)
> >
> > Compile:
> > do ##class(%SYSTEM.OBJ).CompilePackage("'mypackage", "", .errorstr)
> >
> > ERROR #5373: Klasse 'mypackage.A', von 'mypackage.B:super' benutzt,
> > existiert nicht
> >
> > Thanks
> >
> >
> > Mauro
> >
> >
>
>



Reply via email to