- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Luc. I'm not even sure where I'd find 2.0 at this point..
I had .NET 4.5.1 installed and have now upgraded to 4.5.2. In the release notes(Exceptions in Windows PowerShell, other dynamic languages, and dynamically executed C# code when cod...) it suggests to do the following if your still have issues:
Add a cast to System.Type within the call to method SizeOf or method PtrToStructure. For example:
$size = [System.Runtime.InteropServices.Marshal]::SizeOf([System.Type] $type)
$obj = [System.Runtime.InteropServices.Marshal]::PtrToStructure($ptr, [System.Type] $type)Trouble is, I have no idea what this is :smileyconfused: ... do you ?
Thanks!