I am able to call masm assembler object from delphi. ( 1995 version).
On compillation (with delphi) I try to call object code generated by ms-pascal 3.31, and get compiler error #51 Invalid PUBLIC Definition.

I use the line {$L filename.obj} in the delphi code.

How do I maake the ms-pascal object that i can use in the {$L filename.obj} statement
Thanks in advance

You can't. Sorry.

What about calling the ms-pascal from any other language that has access to audio functions

That has nothing to do with it. The problem is how objects are stored and managed internally. A particular vendor's language suite may manipulate objects the same way, but not necessarily. Different vendors almost always differ.

If you have access to the source code of the MS-object, you can port it to Delphi, but your options are technically limited otherwise.