Recent

Author Topic: SDL 32 and 64 bit on one application's directory?  (Read 878 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 309
SDL 32 and 64 bit on one application's directory?
« 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?
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

 

TinyPortal © 2005-2018