Visual C++ wrong entry point

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Laurent Schall (schall_l_at_yahoo.fr)
Date: 03/03/04


Date: 3 Mar 2004 14:38:50 -0800

I experience a problem where starting an application compiled with
visual C++ 6 SP5 does not execute the function main(int argc, char
**argv) and exit immediately with code 1 (0x1).

Putting main as an entry point in the section Project -> settings ->
link -> output -> entry-point symbol, makes the program calling main
but my argc and argv arguments are both equal to 0.

Has anyone an idea ?



Relevant Pages