Apparently I need to make a safe object to send across the DLL