Lazarus

Free Pascal => General => Topic started by: Milsa on May 09, 2021, 10:59:49 pm

Title: SDL 32 and 64 bit on one application's directory?
Post by: Milsa on May 09, 2021, 10:59:49 pm
I have project with SDL. I want to compile this with SDL 32 and 64 bit in one folder. But SDL has name SDL.dll for 32 and 64 bit too. Is any option to have both SDL versions in one folder with my both application versions without any change in Lazarus's sdl.pas?

Directory:
Code: [Select]
app32.exe
app64.exe
sdl32.dll
sdl64.dll

I think one option is copy sdl.pas to sdl32.pas and sdl64.pas and change SDLLibName to sdl32.dll and sdl64.dll.

Is there another option?

If not, is it possible to add sdl32.pas and sdl64.pas to the Lazarus project installation?
TinyPortal © 2005-2018