A89: Re: MO_digestOptions(DaFolder);


[Prev][Next][Index][Thread]

A89: Re: MO_digestOptions(DaFolder);




Hi!

> void _main(void)
> {
>     MO_digestOptions(0);  //crashes with address error
> }
> 
> now try
> void _main(void)
> {
>      MO_currentOptions();    //fixes the problem!
>     MO_digestOptions(0);
> }

MO_digestOptions MUST always be used in pair with MO_currentOptions,
because before calling MO_currentOptions, MO_options structure (which
will be "digested" by MO_digestOptions) is not filled with anything, 
so only God knows what will be performed when MO_digestOptions is
called.

Zeljko Juric