Dennis Lee Bieber via fpc-pascal schrieb
am Fr., 23. Sep. 2022, 04:10:
>If FP is attempting to translate \ into some escape code, you
> might try doubling the backslashes... C:\\Program Files\\My Program\\...
> (I'm presuming "Progam" is a typo.
>
FPC has no need for that as "\" isn't us
A solution I started using, because the mci commands (for some reason)
don't handle all mp3 files I have, was to use a dll called fmod.dll. It
handles several formats, not just mp3, and it can be started on another
thread, then ignored. I've used it to build a much better mp3 player
than I wa
Sorry for the confusion. Let me clarify:
The freepasal program is always run on a Windows system, mciSendString is a
Windows function. I've seen solutions for this problem that use the NTFS 8.3
Short file name... Which I thought would work, but, for my application it won't
work because the
That's on windows, you said the program was running on linux. In that
case, backslashes will escape the spaces, allowing the path to be found
properly.
Windows paths are different, as mentioned before, they can be escaped
too, but the character is different.
On 9/22/2022 2:57 PM, James Rich
Won’t backslashes before each space be defining a subdirectory?
If my path looks like:
C:\Program Files\My Program\Some File.MP3
I don't see how changing it to:
C:\Program\ Files\My\ Progam\Some\ File.MP3 can possibly work.. it's just
butchering the path.
James
From: fpc-pascal On Behalf Of