Thanks Alan - that would definitely need to be investigated
Paul

-----Original Message-----
From: ProfoxTech <[email protected]> On Behalf Of Alan Bourke
Sent: 06 August 2019 12:02
To: [email protected]
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]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr02mb5967796cfb1571eee7a6c373a1...@mn2pr02mb5967.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to