Mark wrote
In principle, yes. How much control do you have over dll formatting in FreePascal? My experience has been that Pascal compilers generate uppercase exported symbols. You'll have to export mixed-case symbols to work with rev's engine. And I believe, but I'm not sure, that FreePascal allows you to set the calling protocol to stdcall rather than the Pascal one (which I can't remember off the top of my head). At any rate, it's documented in the sdk.
Thanks a lot for that information. I asked the FPC developers and they pointed out that both of the above would not be an issue. However, on reflection I think that the easiest thing might be to wrap any such external functionality in an xml-rpc wrapper. Once I have such a wrapper working I will be able to make calls through that (and it will work with either Rev or Python as an xml-rpc client).
It's been a revelation to me to be looking at Pascal again - I haven't touched Pascal for almost 20 years, but I was able to read and understand much of their code without looking at any reference material. I wish I could say the same for code written in C.
Bernard. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
