Visual studio application with Arduino Mega for Sensing System

Good morning to everyone,

I'm corrently developing an application in VisualStudio in c++ for my project.

I wrote different DLL for my application. I need at this time of my project a DLL in which an Arduino mega in involved in order to exploit some sensors.

I think that it is better to interface the Arduno by serial port with my laptop, the Arduino sends out a string of Bytes in which all the sensors measure are stored.

From my application point of view, I normally open the communication and save the received data.

Is this for you the smartest way to do this? I need just the Arduino for recording and sending sensors data.
Is it better to use the visual studio platform or use the arduino IDE?

Thank you very much for your support.

Regards,

Giovanni