# Windows API help with CopyFileExA() and Callback to show Progress

**URL:** <https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388>\
**Category:** questions\
**Created:** [August 31, 2022, 2:42pm UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388 "2022-08-31T14:42:38Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![sk2107](https://clarionhub.com/user_avatar/clarionhub.com/sk2107/32/3135_2.png) [@sk2107](https://clarionhub.com/u/sk2107)\
**Post date:** [September 4, 2022, 11:31am UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388/21 "2022-09-04T11:31:11Z")

</div>

Hi,

Any suggestions to solve this issue; working on 64 bit but not 32 bit?

Regards

---

<div class="post-metadata">

**Author:** ![Graham\_Dawson](https://clarionhub.com/user_avatar/clarionhub.com/graham_dawson/32/1331_2.png) [@Graham\_Dawson](https://clarionhub.com/u/Graham_Dawson)\
**Post date:** [September 4, 2022, 12:41pm UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388/22 "2022-09-04T12:41:47Z")

</div>

You’ve **probably** used the wrong copy of Shell32.DLL to create the .LIB file.

On a 64Bit system you must use the copy that’s in \Windows\SysWOW64 and **not** the copy that’s in \Windows\System32 (that, on a 64Bit system is 64Bit version)

Normally the 64Bit versions of DLLs won’t open with Clarion’s LibMaker, but in the case of Shell32 both 32Bit and 64Bit versions open.

---

<div class="post-metadata">

**Author:** ![ArnorBld](https://clarionhub.com/letter_avatar_proxy/v4/letter/a/dfb087/32.png) [@ArnorBld](https://clarionhub.com/u/ArnorBld)\
**Post date:** [September 4, 2022, 8:37pm UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388/23 "2022-09-04T20:37:28Z")

</div>

Very cool! I’d forgotten I’d messed with that many years ago!

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [September 4, 2022, 10:21pm UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388/24 "2022-09-04T22:21:45Z")

</div>

Thats a nice lib maker, the WinSxS search and load is a nice touch.

It is possible to work out the parameters and put them in the map automatically. Its a feature I have planned for my own apps which can make libs, which then makes searching for dll’s and producing libs a whole new game.

FYI.

---

<div class="post-metadata">

**Author:** ![MarkGoldberg](https://clarionhub.com/user_avatar/clarionhub.com/markgoldberg/32/1511_2.png) [@MarkGoldberg](https://clarionhub.com/u/MarkGoldberg)\
**Post date:** [September 5, 2022, 2:05pm UTC](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388/25 "2022-09-05T14:05:56Z")

</div>

@ArnorBld Iirc there’s even a (now quite dated) picture of you in the libmaker help about. 🙂

[Previous page](https://clarionhub.com/t/windows-api-help-with-copyfileexa-and-callback-to-show-progress/5388.md?page=1)
