P
Peter Judge
Guest
The word “fun” and “memptr” shouldn’t be used in the same sentence
In more recent version there are wrappers around longchars (OpenEdge.Core.String) and memptr (OpenEdge.Core.Memptr) that can help with by-value passing (since they’re obejcts they’re always passed by-value). If you want to follow Mike’s approach of using a holder object, there are a number of interfaces defined by the CCS project that are included in 11.6.3 onwards. You can (should) use these to define variables and parameters. The String object referenced above implements the Ccs.Common.Support.ILongcharHolder interface and the Memptr the IMemptrHolder interface.
Continue reading...
Continue reading...