What dotnet magazines do you read?

2017-10-26 Thread Bill McCarthy
What dotnet magazines do you read?  Feeds, websites, printed on trees stuff ?


Re: Marshalling strings

2017-10-26 Thread Greg Keogh
>
> This leads to a separate interesting question ... what tool(s) can I use
> to get proof the buffer is being freed? Some memory profiler? This would be
> an interesting an useful lesson in itself.
>

This morning I used Visual Studio 2017 Diagnostic Tools to take a snapshot
before and after my native DLL call. I can diff the snapshots, but it
produces a thousand lines of objects with their sizes and diffs. I tried
filtering on words like "interop" and "native" but the results are
meaningless to me.

I get the impression that one needs practice or training to use this
feature wisely. I'll look at some videos later today in the vague hope they
might provide some clues. If anyone has praise for the Diagnostic Tools
then I'd like to hear it. What's the trick to get productive?

*Greg K*