Best way to to make Module('C60RunX') version agnostic?

    Module('C60RunX')    ! AttachThreadToClarion - Initialise the Clarion Runtime when the Windows Service Control Manager (SCM) steps into ServiceMain
ISWA_AttachThreadToClarion( Bool ), Pascal, Name('AttachThreadToClarion')
    End

Is there a way I can make Module('C60RunX') version agnostic using expansion symbols or something. I had a hunt aroun in the help docs, couldnt find what I was looking for and google couldnt return anything either.

iirc its something like %%v%%somethingelse%%somethingelseagain.

TIA

I wouldn’t think so. You’d end up with a heap of duplicated stuff for all the built in functions. People have tried, and failed. And frankly why would you want the C6 runtime in a later version anyway. The later ones have fixed and improved a whole heap of stuff.

The name of the MODULE is not actually used. So the fact its in ClaRun6X is not material.

You can use anything there. Like

module('Clarion')