Thanks Alan - that would definitely need to be investigated Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Alan Bourke Sent: 06 August 2019 12:02 To: profoxtech@leafe.com Subject: Re: Get file path and name from file handle
Sent by an external sender ------------------------------
The FCREATE/FOPEN is used in several places throughout the code and I would need to somehow store and preserve the open file details.
Paul
AFAIK the VFP file handle is internal to VFP and does not equate to a Windows hFile, and as such trying to use Windows API functions like GetFileNameByHandle won't work.
An ideal case for a manager class I reckon.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]