Lazarus

Programming => Widgetset => Carbon => Topic started by: MISV on July 17, 2015, 07:05:23 pm

Title: FileOpen returns -1 as handle
Post by: MISV on July 17, 2015, 07:05:23 pm
I am debugging my app in Lazarus running on OSX.

The file I am trying to open using "FileOpen(APath, fmOpenRead)" returns -1

Using FileExists(APath) returns true

The file is located in a subdirectory to the app being debugged

The file  is AFAIK not open in anything else, but the file was created using an earlier version of the executable.

Title: Re: FileOpen returns -1 as handle
Post by: MISV on July 17, 2015, 07:51:44 pm
Moved to here:
http://forum.lazarus.freepascal.org/index.php/topic,29096.0.html
TinyPortal © 2005-2018