Hello jprucha,
This occurs because LabVIEW DLLs are not considered managed code. As such, we need to define the C# function as unsafe to be able to call unmanaged DLLs.
You can find more information about C# and managed code at Microsoft's developer website linked below.
MSDN Home PageGood luck with the development,
Matt F