Install-Package VBUnmanaged -Version 1.1.0
dotnet add package VBUnmanaged --version 1.1.0
<PackageReference Include="VBUnmanaged" Version="1.1.0" />
paket add VBUnmanaged --version 1.1.0
#r "nuget: VBUnmanaged, 1.1.0"
// 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
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.
|.NET Framework||net451 net452 net46 net461 net462 net463 net47 net471 net472 net48|
|Universal Windows Platform||uap uap10.0|
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
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.