Re: Euphoria DLLs
- Posted by Robert Craig <rds at RapidEuphoria.com> Apr 25, 2003
- 498 views
Juergen Luethje wrote: > Ah, it looks as if Topica has fixed the problems ... I think Topica is still screwed up, but ListFilter is inserting an extra empty blank line at the start of each EUforum message body. That seems to fix the problem. In an e-mail message, an empty line marks the end of the header and the start of the body. From what I've read on the List Owners list, Topica is (often) missing this boundary and is including the first part of a message in the header. > Robert Elia had written previously: > > | The calling program is required to allocate a buffer and pass a pointer > | to the function in the DLL. The DLL must then poke a string into the > | buffer. > > Robert Craig replied: > >> procedure GetLastError(integer pErrorDescription) >> >>In my example, it's important that you declare the parameter as >>integer and not atom. > > > Then Robert Elia must write in the documentation of the API of his DLL, > that the pointer can only have a value in the 31-bit range, right? No, that's the point of the trick. I believe by doing this little (untested) trick of adding 0.0, he will be able to handle 32-bit pointers and other values, reliably. The documentation for his .dll needn't say anything about 31 vs 32 bits. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com