Re: [fpc-pascal] Ansistrings DLL/DSO hack (memory manager)

2006-01-25 Thread L505
Sorry for the double posting, the emails took a long time to get through. > It's exactly the same principle as using cmem, just that you are > using another memory manager than the one of the standard C library. > It has the same advantages (can return and accept ansistrings to/from > FPC-compile

Re: [fpc-pascal] Ansistrings DLL/DSO hack (memory manager)

2006-01-25 Thread Jonas Maebe
On 25 jan 2006, at 08:39, L505 wrote: Trustmaster sends me a trick/hack (as shown below) to avoid using CMEM in a dll/dso in order to get ansistrings working through a dll/dso. Comments? Find anything that could possibly be wrong with this trick we pull off? i.e. the ability to use strings