[xsd-users] Hello Project Compiler Successfully, But runtime
error. Newbie Need Help.
Boris Kolpackov
boris at codesynthesis.com
Mon Nov 9 07:31:27 EST 2009
Hi Nano,
Please do not send images with screenshots of errors. Instead,
describe what happened in the email. See the Posting Guidelines
for more information:
http://www.codesynthesis.com/support/posting-guidelines.xhtml
HE NANO <nano.he at msn.com> writes:
> if (argc != 2) // 1st Error. My code will step into the below
block and return 1; then exit main fun.
You need to pass the name of the XML file as a command line
argument. Open the Project Properties dialog, select the Debug
tab and enter hello.xml into the Program Arguments field.
> argc = 2; // i assigned the value 2 to argc temporary for continue
// debug running.
argc contains the number of elements in the argv array. The
program crashes because you increased this value while the
array still contains the same number of elements.
> C Newbie from China
Note that this mailing list is not for C++ or VC++ questions. If
you need help with these subjects, I suggest that you try one of
the Microsoft's VC++ forums or newsgroups.
Boris
More information about the xsd-users
mailing list