[fpc-pascal]Error 216 with SDL

James Mills prologic at daisy.ods.org
Mon Aug 4 21:53:20 CEST 2003


On Mon, Aug 04, 2003 at 09:44:13PM +0200, Jonas Maebe wrote:
> 
> On maandag, aug 4, 2003, at 21:12 Europe/Brussels, Holger Peters wrote:
> 
> >I used SDL4FreePascal under Windows with FreePascal 1.0.6 and it 
> >worked fine. Now, I use RedHat 9.0 with FreePascal 1.0.10 and 
> >SDL4FreePascal doesn't work.
> >When I compile the demos, I get the runtime error 216 at the first 
> >SDLcommand.
> >
> >Is there a solution?
> 
> The problem may be that the SDL4FreePascal C-header translation was 
> done for an older version than what you have now, so that type and 
> function definitions are wrong now. There are two possible solutions:
> 
> a) install the same version of SDL on your system as what you were 
> using before
> b) translate the SDL headers of the new version to Pascal (or bug 
> someone else to do it :)

Thanks Jonas :) I was clueless :P

James

> 
> 
> Jonas
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-- 
-
-Zero Defect Software Engineers Group - ZDSEG
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.




More information about the fpc-pascal mailing list