I'm building a .NET client and I referenced a RCW supplied by OPC Foundation.
One of the functions has this parameter:
[IN] IntPtr pPercentDeadBand
The documentation mention that I should pass a pointer to a float value.
This is where I struggle. I found Marshall..WriteByte, .WriteInt16 and .Writeint32.
But nothing to write a float value from managed memory to unmanaged memory.