"Peter Hunnisett" peter@transgaming.com writes:
gdwDPlaySPRefCount is an exported ordinal variable might as well declare it as such.
Note that this creates a copy of the variable, so you can no longer reference it from the C code. I'm not sure this is what you meant to do.