Internal Error Library 'Classes' not found

Hi,


I'm trying to get the TMS Scripter up and running and when I try to run the default project I get the error "INTERNAL ERROR Library 'Classes' not found"

Steps: 

IdeDialog.Execute;
[Form pops up]
[Run Script that pops up...which is Unit1 and Unit2 with a Form2 instance]

Hi,

Add ap_Classes unit to your project (or to the uses clause of any unit in your project).

Thank you! That worked. I missed it on Pg.30 of the manual. 


Have a nice day.

When I add these in C++, I have a compiler error. ap_System.hpp(508): E2293 ) expected. Do I need to include more than just these uses?

In c++, with new version, you should do something like this:


#pragma link "TMSScripter_Imports_RTL.lib"<o:p></o:p>

#pragma link "TMSScripter_Imports_VCL.lib"<o:p></o:p>

#pragma link "ap_Classes"<o:p></o:p>

#pragma link "ap_Graphics"<o:p></o:p>

#pragma link "ap_Forms"<o:p></o:p>

#pragma link "ap_Controls"<o:p></o:p>

#pragma link "ap_Dialogs"

This has corrected my issues. Thank you for your help.

I wanted to ask one more thing.

Is there a pragma link that would automatically include all the available components, rather than including each one individually? This way if you ever added a new component, users wouldn't have to go in and add that new component manually, it would just be included with the set.

There is no such thing. The libraries are relatively big so it's safer that you include only the ones you need.

I understand. Thank you.