Quantcast
Viewing all articles
Browse latest Browse all 2935

Passing Any to .Net

Does anyone have any experience passing an Any datatype to .Net via a CCW? The .Net method is setup to accept the Any as an Object:

 

public string CreateCsvRow(object[] data)

 

The data I'm passing makes it to the the .Net method all right and I am able to work with it. The issue is that there is a pretty nasty memory leak. If I pass a string array and call the method 300,000 times, no memory is lost. The same test with the Any variable and I loss lot's of memory.


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>