Thanks Johan
That's what I need but I need some help in using that API in VFP
Paul
-----Original Message-----
From: ProfoxTech <[email protected]> On Behalf Of Johan Nel
Sent: 02 August 2019 15:11
To: [email protected]
Subject: Re: Get file path and name from file handle

Sent by an external sender
------------------------------

On 2019/08/02 14:22, Paul Newton wrote:
> How can I get a file path and name from a file handle (returned by FCREATE)?  
> I am sure that there is a Windows API to do this but I cannot workout how to 
> call it from VFP.
Here is a link to how it is done in c.

https://docs.microsoft.com/en-us/windows/win32/memory/obtaining-a-file-name-from-a-file-handle

Good luck,

Johan Nel
George, South Africa.


[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/mn2pr02mb5967a244fd62630a3d4ce136a1...@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