Hello Jerome,
On Mon, 7 Nov 2022 at 04:08, Jerome Shidel <jer...@shidel.net> wrote: > Make sure your compiling to the correct memory model. (I think huge, but > you’ll need to double check that) > Compact is the one that gives me less problems (it's also the one that got most recommendations :) ). > You may need to ensure the actual procedure is declared with far. > Yeah, all of them are far. Procedure Test; far; > Begin > End; > > Also, you may need assign the address to a plain pointer and typecast the > call. > > Type > MyProc = procedure; > > Var > P : pointer; > > Begin > P := @Test; > MyProc(P^); > End. > I tried that last bit (MyProc(P^)), but no luck: KEYB.PAS(3382,28) Error: Illegal qualifier KEYB.PAS(3382,29) Error: Illegal expression > Also, there are also compiler directives for FPC regarding compatibility. -MTP did not work :( It changed the error for another. Thanks anyway... :( Aitor
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel