Norton Allen
|
Re: ApOptions in PhAB Application
|
Norton Allen
05/05/2009 12:05 PM
post28713
|
Re: ApOptions in PhAB Application
Misha Nefedov wrote:
> This works for me.
> Are you sure that it is the ApInitialize() that reports this problem?
>
Yes, I traced it in the debugger.
> Can you make a small sample app that shows this problem?
>
I'll try.
|
|
|
Norton Allen
|
Re: ApOptions in PhAB Application
|
Norton Allen
05/05/2009 12:32 PM
post28717
|
Re: ApOptions in PhAB Application
OK, no, my small test program does not exhibit the same symptom. Instead it will not complain even if I give it invalid
options. In the attached, I have specified:
/* Application Options string */
const char ApOptions[] =
AB_OPTIONS ""; /* Add your options in the "" */
and in mysetup() I just dump the command line and the ApOptions array. The output of a run with bogus options gives me:
mysetup(4, 'ApOptions_gnort124154077390614', '-P', 'path', '-X'
ApOptions[] = "s:"
|
|
|