New Wrappers

Started by Gary Stout, August 19, 2015, 10:03:59 PM

Previous topic - Next topic

Gary Stout

Paul,

Pardon me if this is a silly question, but are the new wrappers, that you have been creating, contained in the 3671 update or are these separate include files.

Thanks again for all of your contributions!

Gary

Paul Squires

No, those wrappers have not made their way to FireFly yet. I have only written them over the past two days.

Tonight, I wrote a StringBuilder class to emulate PB's but my initial tests show that FB's string concatenation is much faster. That puzzles me because I am using pretty big allocated buffers and MemMove functions to quickly move memory around. I wonder if it is because FB uses it's own string format rather than the BSTR one that PB uses. I imagine that concatenation with PB must be slow because of the OLE engine constantly allocating and deallocating strings. Interesting nonetheless. I may have wasted the night writing this class.

Paul Squires
PlanetSquires Software