I'm trying to send double/float values from my MFC legacy code to WPF window. WPF WndProc procedure receives the arugments in LParam and WParam as ints (truncates the decimal values).
private IntPtr WndProc(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
How can I do this?
Thanks in advance