Posted By: AndrewAMD
Integrate MSVC compiler in Zorro - 07/23/19 14:53
jcl,
In the future, it would be very convenient if Zorro can use the MSVC compiler directly. The idea would be that you simply select a *.cpp file from the Zorro Script dropdown menu, and then the file is compiled on the fly, much like with the current Lite-C arrangement.
Pros:
* No need to launch a Visual Studio session every time. No solution files, no project files, just a single *.cpp.
* The eccentricities of Lite-C are gone. Instead, write standardized C++ code.
* Still can quickly pilot ideas as if you have Lite-C.
* No need to juggle DLL files.
* Can be 64-bit.
Cons:
* If stepwise debugging is truly required, need to move code to Visual Studio.
* If some special libraries are required, I suppose this would also require Visual Studio, unless #pragma comment or dynamic DLL loading will suffice.
In the future, it would be very convenient if Zorro can use the MSVC compiler directly. The idea would be that you simply select a *.cpp file from the Zorro Script dropdown menu, and then the file is compiled on the fly, much like with the current Lite-C arrangement.
Pros:
* No need to launch a Visual Studio session every time. No solution files, no project files, just a single *.cpp.
* The eccentricities of Lite-C are gone. Instead, write standardized C++ code.
* Still can quickly pilot ideas as if you have Lite-C.
* No need to juggle DLL files.
* Can be 64-bit.
Cons:
* If stepwise debugging is truly required, need to move code to Visual Studio.
* If some special libraries are required, I suppose this would also require Visual Studio, unless #pragma comment or dynamic DLL loading will suffice.