Click here to Skip to main content
15,799,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

my delphi function is:
strm := TMemoryStream.Create;

and i want to use this dll's method in c# project.How can i use?

Sergey Alexandrovich Kryukov 4-Feb-16 14:15pm    
Not clear. Why? Don't you just want to find out analogous class in .NET? Or, if you want to use Delphi TMemoryStream in .NET? Then you should show what method you want to import and how you want to use it. It should be transparent: you return Deplhi TMemoryStream instance to C# and later pass it to Delphi transparently. You cannot use classes across the technologies.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900