Hello all, I’ve been reading through this thread as I’m experiencing the same problem with some .dlls and .exe when compiling in debug mode. We are using Clarion 10.0.12799. My tests have revealed that, as for now, the only way of making this work is by using msbuild 4.7.x and p.t in a win7(!) vm. Win10 (22H2) and 11 both have msbuild 4.8.x (or newer) and compiling fails with the symptom of “compiler hang” building the debug tables. I agree it’s probably not a real hang as cpu-usage is very low. So to summarize: msbuild 4.8.x and newer has this problem. Extremely frustrating as compiling in debug mode is crucial to have available. If anyone has anything new to report…shout out!
Thanks to work done by Alexy, With Mark Sarson providing examples, an issue in the linker has been identified. The root of the problem are procedure names being exported, with really long auto-generated (“mangled”) names.
Typically most parameter types are known by the mangler, and generated names are short. However if you are passing Objects as parameters, and passing a LOT of them, then you can exceed the linker limits, and that’s not good.
One source of this issue is CSPWCOM.INC. This file is used in Office Inside and File Explorer.
A new build of Office Inside (4.73) (CapeSoft Office Inside) has been uploaded with specific, unique, external names for these methods now set. This bypasses the mangler, and hence the length is no longer a limit.
OfficeInside 3 (and earlier) and File Explorer 5 (and earlier) also make use of this file. Since those are all obsolete now, no updates have been made to those (and none are expected to be made.) However if you are using one of these old products, and you are getting this issue, then please contact me and I should be able to supply you with an updated file. (And reasons not to be using old obsolete versions of things.)
Thanks again to Alexy for tracking down this is, and for Mark following through with examples to him.
RZ gave permission to share fixed compilers and linker to users who can test them with projects causing the problem and who can provide the feedback. So, everybody who had the hang problem can ask me via PM.