Turns out it's a stdcall which has no mangling.
I can debug the c extension in CBuilder. Very fast.
Now I need to experiment with arguments etc. That will be the acid test for stdcall
If anyone is interested I can post the files and the steps.
Once I get a real good handle on this I'll try it out with XE7 which is a compiler that compiles Win32, Win64 and OSX.
I will also test this on my lap top where Borland memory manager (a dll) doesn't exist. It will tell me if I need to include any of these files or not.