RefFile Structure in GetCExpressionValue

Greetings,

I'm building on others' work in Connect to get the clip boundary for a reference file. I am using VBA to do this by calling a couple of MDL functions.

The end result is I have a pointer to a ref file structure.  I'm trying to use the GetCExpressionValue() function to retrieve values in the ref file structure.

in V8i it was apparently acceptable to use:
lngScale = GetCExpressionValue((struct referenceFile *)2250204734080)->display.scale)

However, in Connect it's throwing an error, "structure/union names expected".  I assume this means it can't find the referenceFile structure at that pointer address or the method for passing the address has changed in the GetCExpressionValue function. 

Any ideas?

Thank you.

Parents Reply Children
No Data