Find Jobs
Hire Freelancers

Get Open File Path From WIndow Handle

$250-750 USD

Dalam Kemajuan
Disiarkan sekitar 13 tahun yang lalu

$250-750 USD

Dibayar semasa penghantaran
Hi. All I want to get C function about Get opened file path from window handle. (not file handle and not executable path) for example, If c:\abc\[login to view URL] is opened using [login to view URL], and if we know winword's main window handle, I want to get 'c:\abc\[login to view URL]'. caution : 1) it is support that when read-only file is opened, and if we know window handle. we get opened file path from window handle 2) it is support MDI Child window (like excel or powerpnt...) 3) Win XP, WIn 7, WIn VISTA support (32 bits) 4) I need source file and project files target function : Bool GetOpenFilePath(HWND, wchar *filepathvar) if true, opened file path is saved to filepathvar, and return true. if false, return false test scenario. 1. create c:\[login to view URL], and open c:\[login to view URL] using [login to view URL], if winword's window handle is 0x1234, We get opened file path using below function ==> GetOpenFilePath(0x1234, filepathvar) if true, filepathvar is 'c:\[login to view URL]; 2. create c:\readonly\[login to view URL], and set c:\readonly\[login to view URL] file as readonly, and open c:\readonly\[login to view URL] using [login to view URL], if winword's window handle is 0x5678, We get opened file(read only file) path using below function ==> GetOpenFilePath(0x5678, filepathvar) if true, filepathvar is 'c:\readonly\[login to view URL]' 3. create c:\[login to view URL], c:\[login to view URL] 2 files. (c:\[login to view URL] is normal file, and c:\[login to view URL] is readonly file) and open c:\[login to view URL], c:\[login to view URL] (using [login to view URL]) Now, Excel window have 2 child windows ([login to view URL], [login to view URL]) assume that we know child window handle ([login to view URL] => 0x1000 child window handle, [login to view URL] => 0x2000 child window handle) if we use GetOpenFilePath(0x1000, filepathvar) if true, filepathvar is 'c:\[login to view URL]' if we use GetOpenFilePath(0x2000, filepathvar) if true, filepathvar is 'c:\[login to view URL]'
ID Projek: 1053924

Tentang projek

7 cadangan
Projek jarak jauh
Aktif 13 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
7 pekerja bebas membida secara purata $600 USD untuk pekerjaan ini
Avatar Pengguna
I would like to work on the project
$700 USD dalam 8 hari
4.8 (46 ulasan)
5.7
5.7
Avatar Pengguna
please check PM. Thanks.
$750 USD dalam 0 hari
4.8 (10 ulasan)
5.5
5.5
Avatar Pengguna
Hello. I have already made this function. If you want, i can provide screenshot about this. If you choose me, i want to chat with you for details. Looking forward to your response. Thanks.
$250 USD dalam 1 hari
5.0 (3 ulasan)
3.3
3.3
Avatar Pengguna
Hello. How are you? I know what you want and how to do it. I have techniques of windows process management and hooking. This project is in my power. Best regards.
$750 USD dalam 3 hari
0.0 (1 ulasan)
0.0
0.0
Avatar Pengguna
Hi,please see PM
$500 USD dalam 0 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
Please have a look at PMB.
$750 USD dalam 3 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera KOREA, REPUBLIC OF
Seoul, Korea, Republic of
4.9
22
Kaedah pembayaran disahkan
Ahli sejak Mei 4, 2011

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.