# Duplicate Symbol Kernel32.dll error

**URL:** <https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943>\
**Category:** questions\
**Tags:** nettalk, compiler\
**Created:** [February 12, 2026, 2:56pm UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943 "2026-02-12T14:56:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit\_Purohit](https://clarionhub.com/user_avatar/clarionhub.com/ankit_purohit/32/5745_2.png) [@Ankit\_Purohit](https://clarionhub.com/u/Ankit_Purohit)\
**Post date:** [February 12, 2026, 2:56pm UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/1 "2026-02-12T14:56:37Z")

</div>

Hi  
I just installed NatTalk14 and related libraries ex- StringTheory3,xfiles,jfiles,Reflection  
when building app getting this error..  
Duplicate symbol: GetFileSizeEx in KERNEL32.dll  
Duplicate symbol: SetFilePointerEx in KERNEL32.dll  
I’m on clarion8.  
Thanks

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [February 13, 2026, 4:11am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/2 "2026-02-13T04:11:40Z")

</div>

Into what build of Clarion?

---

<div class="post-metadata">

**Author:** ![Ankit\_Purohit](https://clarionhub.com/user_avatar/clarionhub.com/ankit_purohit/32/5745_2.png) [@Ankit\_Purohit](https://clarionhub.com/u/Ankit_Purohit)\
**Post date:** [February 17, 2026, 6:43am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/3 "2026-02-17T06:43:06Z")

</div>

Hi Bruce  
I’m on clarion8  
I found these functions in below lib files.

 ![image](https://clarionhub-uploads.s3.dualstack.eu-north-1.amazonaws.com/original/2X/c/cfe07d67685765605611e8db91dcba7b3b102401.png)  
it happens when i upgraded NetTalk11 to NetTalk14.

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [February 17, 2026, 7:07am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/4 "2026-02-17T07:07:13Z")

</div>

looks like you have a custom \_Win32.Lib in your accessories\lib folder.  
Is that something you made? If not, do you know where it came from?

I think in your case use libmaker to make an empty WinEx.Lib file, use that to overwrite the one in \accessory\lib\win and you should be ok.

---

<div class="post-metadata">

**Author:** ![Ankit\_Purohit](https://clarionhub.com/user_avatar/clarionhub.com/ankit_purohit/32/5745_2.png) [@Ankit\_Purohit](https://clarionhub.com/u/Ankit_Purohit)\
**Post date:** [February 17, 2026, 7:48am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/5 "2026-02-17T07:48:12Z")

</div>

\_Win32.Lib and WinEx.lib was there already. I just install NetTalk14

 ![image](https://clarionhub-uploads.s3.dualstack.eu-north-1.amazonaws.com/original/2X/9/9ca30af0468805856cf415a7690f93caa4a69332.png)  
I observed that WIN32.LIB and WIN32EXT.LIB are present in another location as well. This might be causing the duplicate symbol issue during linking.?  
 ![image](https://clarionhub-uploads.s3.dualstack.eu-north-1.amazonaws.com/original/2X/d/db125e8c479491b382208bb75b596a95aaf35f83.png)

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [February 17, 2026, 9:23am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/6 "2026-02-17T09:23:38Z")

</div>

> [@Ankit\_Purohit](#):
>
> \_Win32.Lib and WinEx.lib was there already. I just install NetTalk14

WinEx was added to recent StringTheory builds because the Clarion8 Win32.Lib does not include those 2 Windows API prototypes.

Yoiur \_Win32 file is not part of Standard Clarion, and someone has presumably added it to your machine - perhaps from some other 3rd party product. I’m not familiar with the source of that.

Not that it matters - you have \_Win32.Lib (Which is distinct from Win32.Lib) and that contains enough for StringTheory. So you can simply make an empty WinEx.Lib.

---

<div class="post-metadata">

**Author:** ![Ankit\_Purohit](https://clarionhub.com/user_avatar/clarionhub.com/ankit_purohit/32/5745_2.png) [@Ankit\_Purohit](https://clarionhub.com/u/Ankit_Purohit)\
**Post date:** [February 17, 2026, 9:57am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/7 "2026-02-17T09:57:16Z")

</div>

I make an empty WinEx.lib at same location now getting this error.  
 ![image](https://clarionhub-uploads.s3.dualstack.eu-north-1.amazonaws.com/optimized/2X/5/52c6cd69ae4cd05423c86ea1c18cef4120e76c38_2_690x61.png)

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [February 17, 2026, 2:19pm UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/8 "2026-02-17T14:19:56Z")

</div>

edit StringTheory.Clw, and remove this line

```auto
  PRAGMA('link(winex.lib)')

```

Then remove Winex.lib from your project.

Cheers  
Bruce

---

<div class="post-metadata">

**Author:** ![Ankit\_Purohit](https://clarionhub.com/user_avatar/clarionhub.com/ankit_purohit/32/5745_2.png) [@Ankit\_Purohit](https://clarionhub.com/u/Ankit_Purohit)\
**Post date:** [February 18, 2026, 7:19am UTC](https://clarionhub.com/t/duplicate-symbol-kernel32-dll-error/8943/9 "2026-02-18T07:19:23Z")

</div>

Thanks Bruce It worked!!
