1) I inserted your suggestion. While compiling I got the message. Hitting ok, form pops up and closes immediately?
2) I can start a new project ... as long this strange behaviour does not appear I can edit, modify, build, run that application. So do I have several tools I made that are running.
The development for these tools is done on Laptop1 and when I'm at home on the PC. The sources resides on an external portable HD. Lazarus is installed the same way and on the Laptop or PC.
But, once the error appears (when I edited the application on the PC and then moves to the Laptop) is it done for infinity.
Problem is, it does not always happens and I can't tell when it happens because I edit several items and not just one line
program collectie_beheer;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, collectie_beheer_1, Dialogs;
{$R *.res}
begin
RequireDerivedFormResource:=True;
Application.Initialize;
Application.CreateForm(TMASTERform, MASTERform);
Showmessage('a');
Application.Run;
end.
When I put the message after creation of the form, I got that message too. So, problem somewhere when running
Note. PC and Laptop & owns a Intel-rpocessor, Laptopé is an AMD
It rends me sick ...