Recent

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

Milsa

  • Sr. Member
  • ****
  • Posts: 253
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.0.10, FPC 3.2.0, SVN 63526
This information is actual to: 1st Aug 2020

 

TinyPortal © 2005-2018