Recent

Author Topic: How to open ISO-files with FreePascal?  (Read 3754 times)

TheNick

  • New Member
  • *
  • Posts: 24
  • Pax vobiscum
How to open ISO-files with FreePascal?
« on: December 24, 2018, 01:04:08 am »
Is there any library available for opening or mount ISO-files with FreePascal?
Never give up, never surrender! 😃

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: How to open ISO-files with FreePascal?
« Reply #1 on: December 24, 2018, 01:12:09 am »
Probably not Nick. But easy to call the normal OS commands to do so.

http://wiki.freepascal.org/Executing_External_Programs

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: How to open ISO-files with FreePascal?
« Reply #2 on: December 24, 2018, 02:04:45 am »
Yep, there is no built-in mount()/umount(); you'll have to call mount (or udisks) an use a loop device to mount the ISO.

A similar question arised recently but I can't find the thread now :(

Ah, yes; found it: Linux: how to mount/unmount a partition?
« Last Edit: December 24, 2018, 02:09:25 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

HeavyUser

  • Sr. Member
  • ****
  • Posts: 397
Re: How to open ISO-files with FreePascal?
« Reply #3 on: December 24, 2018, 02:14:42 am »
Is there any library available for opening or mount ISO-files with FreePascal?
https://torry.net/pages.php?id=249 CD Burning Library v.1.2 by Dancemammal, has everything you need to access iso files might need some attention in compiling with fpc but its a good starting point.

TheNick

  • New Member
  • *
  • Posts: 24
  • Pax vobiscum
Re: How to open ISO-files with FreePascal?
« Reply #4 on: December 24, 2018, 02:52:49 pm »
Is there any library available for opening or mount ISO-files with FreePascal?
https://torry.net/pages.php?id=249 CD Burning Library v.1.2 by Dancemammal, has everything you need to access iso files might need some attention in compiling with fpc but its a good starting point.
Thanks, will try this approach. Otherwise I guess its time to rollup them sleeves  :)
Never give up, never surrender! 😃

 

TinyPortal © 2005-2018