Dotnet
3 entries201510 · 15
Calling c++ (dll) from c# with an LPCTSTR parameter
An example of calling a c++ dll from c#. CallingConvention = CallingConvention.Cdecl and [MarshalAs(UnmanagedType.LPWStr)] are the important parts.
Dotnet1 min
201510 · 15
Saving a control to png in WPF (c#)
I was going to use System.Drawing like I did before.. turns out wpf already has this built in..
Dotnet1 min
201509 · 16
Built on .NET Framework 4.5.2. Then downgraded to 4.0...
Recently I had to build a Windows app. I heard .NET 4.5 added the new async syntax, so.. might as well, I went with 4.5.2. Oh......
Dotnet1 min