Hi Mark,
it's working fine here. I have created a GETPCC.DLL demo DLL and a SetupBuilder project.
Source code (Clarion .PRJ and SetupBuilder 10 .SBP) can be found here:
https://www.setupbuilder.com/projects/PACDLL.zip
See attached screenshots. The Clarion DLL displays the "A long string of gibberish with no embedded spaces" value from the command line.
Does this help?
Friedrich