Friedrich,

I am using a DLL we've called from SB for a long time - and it finally needed some changes.

For reasons I have not been able to determine, the DLL works when called by a small hand code app, but GPFs when SB calls it. Given that the SB doc indicates that mangling is a no-no, I thought maybe that was the problem, but there's no mangling.

Prototype: GetPCC(*CSTRING PCC_CODE),SHORT,NAME('GetPCC') - I have also tried (STRING PCC_CODE) with the same results (GPF).

Whether I call the DLL with a SB runtime variable that is empty, or one that has contents, SB GPFs. The odd thing is that this installer has been around for quite some time, and likewise has the parameter.

If I remove the parameter from the DLL's prototype, SB works fine.

Screenshot of SB setup image and prototype in code: https://p168.p3.n0.cdn.getcloudapp.c...79c29efe754d89

It's unclear what I am doing incorrectly, but I'm sure there's something.

Mark