I am porting a plugin design I made in D7 that works perfectly. The EXE contains the splash screen and primary TApplication instance. It loads a DLL and passes the instance of TApplication to the DLL - which saves it's TApplication in OldApplication, and overrides Application with the instance from the EXE ... then should show the main form (MDI form).
Again, all of this works fine on D7, and now I am porting this to MacOS w/ Lazarus - w/o success.
if launched from the terminal.app, I see Error:
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$0000000000000000
if launched from Lazarus with Dwarf 3 debugging:
Project (name) raised exception class 'Debugger stopped with reason: EXC_BAD_ACCESS (code=1, address=0x0)'.
** Is there a way to trace into the DLL (dylib) to see where the error is. (may have missed a line with I copied from Delphi VM to MacOS Lazarus).
Thanks!
Ozz