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
Into what build of Clarion?
Hi Bruce
I’m on clarion8
I found these functions in below lib files.
it happens when i upgraded NetTalk11 to NetTalk14.
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.
_Win32.Lib and WinEx.lib was there already. I just install NetTalk14
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.?
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.
I make an empty WinEx.lib at same location now getting this error.

edit StringTheory.Clw, and remove this line
PRAGMA('link(winex.lib)')
Then remove Winex.lib from your project.
Cheers
Bruce
Thanks Bruce It worked!!


