> On Mon, 2 Jan 2006, L505 wrote: > > > Trustmaster from PSP project tells me he's been using Ansistrings in DLL > > without > > problems. The entire psp.furtopia.org website is running a DLL with > > ansistrings in > > it, he says. > > > > He says he compiled it with FPC 1.0 a long time ago.. > > > > So the psp.furtopia website has been using ansistrings in DLL for ages now. > > > > How can this be? How is it possible a website can run without any problems, > > using > > ansistrings? > > > > i.e. exporting functions like this: > > > > function something(param: ansistring): ansistring; > > > > > > Can it be pure luck that a website is running this long with ansistrings? > > It all depends on how the DLL is used. > It's impossible to say something definite without this information. > > If it's used by a C program such as Apache or so, then it should not > present a problem at all. > > Michael.
Its just a dll/so that a CGI is calling on - it's not an apache module or anything. i.e. place a dll in a directory, and have a CGI program call on it.. I got a copy of the psp 1.0 sources and what he is doing is calling the functions from an SO/DLL from a cgi executable.. There are tons of functions like this that another fpc program is calling from the SO/DLL: function something(param: ansistring): ansistring; It's just funny, because a website is the thing you'd think would be the first thing to crash down: a website is accessed by several people at different times in the day, whereas a desktop is not. I visit his forum every day and have never once had a crash! I can post the psp 1.0 sources online if anyone is interested, but probably it is only me who is so curious ;-) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal