Recent

Author Topic: How use files from ".lrs"  (Read 4183 times)

The_Genaro

  • Newbie
  • Posts: 4
How use files from ".lrs"
« on: May 15, 2010, 07:31:17 am »
Hi everybody!!!!

can I read and use ogg files a dll from lazarus source file (.lrs)?

i create  "thinks.lrs", inside them:
sdl.dll
sdl_mixer.dll
music.ogg
libvorbisfile-3.dll
libvorbis-0.dll
libogg-0.dll

 %)
I want just one "exe"  what can i do?  :-\

thanx!!!

eny

  • Hero Member
  • *****
  • Posts: 1658
Re: How use files from ".lrs"
« Reply #1 on: May 15, 2010, 08:52:45 am »
It's not that difficult to create 1 exe file; maybe the wiki chapter on resources is of help.
However at runtime you will have to extract your dll's and load them from disk anyway.
That's the way Window$ works.
Although I've read somewhere that by replicating portions of the LoadLibrary API function you should be able to load them from memory directly. I'm not sure if it's worth the trouble.
All posts based on: Win11; Lazarus 4_4  (x64) 12-02-2026 (unless specified otherwise...)

 

TinyPortal © 2005-2018