Duplicate symbol in Kernel32.dll


#1

Hi,

I’m converting a C6.3 (9055) multi dll app to C10 (10.0.0.12463)
The data dll converts fine, but the first Reports.dll has some errors i can’t really place.

The map file gives these two lines:
Duplicate symbol: GetProcessId in KERNEL32.dll
Duplicate symbol: SetProcessAffinityMask in KERNEL32.dll

Any ideas will be appreciated,

Rob


#2

Those API are included in the newer versions of Clarion.
A third party accessory is most likely also including them.
If you have PDF tools in your project, the templates for it have a “include tspknl32” check option. Try unchecking that.
Otherwise, you’ll have to search for what LIB files have those procedures called and determine which ones are linked in your project.

Rick


#3

Hi Rick,

Yes i was already searching for the libs.
But your include tspknl32 (PDFTools) did the trick (after unchecking it), i wasn’t aware of that option.

Many thanks Rick!

Rob


#4

Wonderful advise. Thank you Rick…