VBUnmanaged 1.1.0

.NET Framework 4.5.1
Install-Package VBUnmanaged -Version 1.1.0
dotnet add package VBUnmanaged --version 1.1.0
<PackageReference Include="VBUnmanaged" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VBUnmanaged --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VBUnmanaged, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install VBUnmanaged as a Cake Addin
#addin nuget:?package=VBUnmanaged&version=1.1.0

// Install VBUnmanaged as a Cake Tool
#tool nuget:?package=VBUnmanaged&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Simple wrapper classes and structs for helping with interop under VB.NET. Uses IL code for native and simple structure pointer handling for better performance.

Product Versions
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore451
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 1,052 8/16/2014

1.1.0 - Rewrote Ptr class to include delegate marshaling and better optimization. Memory leaks for strings taken care of.

FuncPtr class removed. Along with the awkward (pointless?) UnPin extension.

Added IntPtr extensions for easy marshaling/pointer dereferencing.

1.0.9 - Changed library to 4.5.1 to take advantage of generic Marshal class methods. Simple structures without arrays and containing pure native types use IL functions for (de)referencing.

1.0.8 - Uses IL functions for pointer operations with native types in Ptr class. PtrToStructure is now used only for complex structs.

1.0.7 - Changed pointer math operators to return IntPtr value instead of dereferencing the pointer. Added UnPin extension method.

1.0.6 - Fixed pointer math operators to take pointer's type size into account. Added a generic Fixed structure for pinning objects.

1.0.5 - Added constructors for FuncPtr class for either pointer or delegate.

1.0.4 - Added ChangePtrSize method for Ptr class allowing you set a new size for pointer with option to reallocate. Changed namespace to VBUnmanged.

1.0.3 - Added Dispose method for Ptr class. Updated test code.

1.0.2 - Allows for arrays to be used in initializing Ptr class. Includes string arrays which subsequently turns the Ptr into an array of IntPtr's with each element pointing to the string.