Recent

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

TheNick

  • New member
  • *
  • Posts: 8
  • 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?

dbannon

  • Hero Member
  • *****
  • Posts: 571
    • 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 1.8, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

lucamar

  • Hero Member
  • *****
  • Posts: 1545
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 1.8.4 & 2.0.2 w/FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

HeavyUser

  • Sr. Member
  • ****
  • Posts: 262
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: 8
  • 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  :)