Search results for query: *

  • Users: rkb771
  • Content: Threads
  • Order by date
  1. rkb771

    Question Cast string to byte array

    I am using .NET 6 for a project where I am reading some data from serial. The SerialPort.ReadExisting is my choice of method for reading serial data. This method returns the data as string but I need the data as byte array. I know of System.Text.Encoding.ASCII.GetBytes but my confusion is that I...
  2. rkb771

    Question Problem loading dll on Windows 11.

    Simply put, I have a c# code for UI and a native c++ dll for calculation. The dll is compiled for 64-bit with gcc 11.2. I am using MSVS 2022 for the UI. Selected .NET version is 4.8. The import is done with LoadLibrary, GetProcessAdress and Delegate. The c++ functions are exported as, extern...
Back
Top Bottom