I have a new main function that I asked the linker to point to in the Visual Studio.
I can correctly execute this function. However the command line arguments that I am getting is not correct.
Currently this is my signature
int NewMain(int argc, const char* argv[])
{
cout << "New Main" << endl;
for (int i = 0; i < argc; ++i)
{
cout << argv[i] << "\n";
}
return 0;
}
However when I use the same function with the standard main, I am getting all the arguments.