BYVAL required with pointers - Pointers may only be passed BYVAL. Add an explicit BYVAL to the Sub/Function/Method/Property declaration and prototype. Previous versions of PowerBASIC used an implied BYVAL.