How to get a file HWND

Dec 14, 2018 at 9:40pm
I'm trying to figure out how I can get the handle of a file from location?


GetHandle("C://Temp/file.txt");
Last edited on Dec 17, 2018 at 4:46pm
Dec 14, 2018 at 10:23pm
Haven't programmed for Windows in years, so forgive me, but isn't it just CreateFile()?
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilea
Last edited on Dec 14, 2018 at 10:23pm
Dec 17, 2018 at 1:07pm
Ahhh.. I see now it Create or Opens a file.. Okay thankyou that what I needed.
Topic archived. No new replies allowed.