Easy (ish) Note that I deal with multi dll so some of this may not apply.
So First, make sure that you do this in the data dll. Then I rename the module to something like the class. so testclass.clw. That stops the numbering from stuffing everything up.
Then, in global embeds in the app where you want it. add an âinclude(âtestclass.incâ),onceâ
Then in the procedure where you want the class, data embed add
tc testclass
You can then refer to tc.myMethod whereever you want
If youâre using ABC, search the help for âABCIncludeFileâ. From there, youâll find âHow to Create ABC Compliant Classesâ. If you never intend to re-use your class anywhere, then the other way is probably OK.
But this part is outdated: âThe header file (.INC) containing the CLASS declarations must be in Clarionâs \LIBSRC directoryâ. The best place is in Clarion\Accessory\libsrc\win.