Public class in dll isn't recognized

Public class definition Class_1 in ClassLibrary (dll) isn’t recognized by the compiler.

ConsoleApplication 1.bugreport.txt (4.2 KB)
ConsoleApplication (1.3 MB)

Is this with latest? iirc we had some fixes in that area a week or two back.

Yes, with .2891

Hi, sorry for late response.
you are missing the [DllExport] attribute in Class1.pas, should be:

  Class1 = public class

Ok, thank you. Sorry