Forum > General

SDL 32 and 64 bit on one application's directory?

(1/1)

Milsa:
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: ---app32.exe
app64.exe
sdl32.dll
sdl64.dll
--- End code ---

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?

Navigation

[0] Message Index

Go to full version