[fpc-pascal] tidypas (libtidy) question

listmember listmember at letterboxes.org
Fri Feb 17 15:17:12 CET 2006


I am using Jeffrey Pohlmeyer's TidyPas sources for LibTidy (Windows,
Delphi7) and I want to set the ErrorFile for the underlying lib to
nothing (nil, none).

But, when I do this, I get an AV (in Delphi7).

     tidyOptSetValue(fTidyDoc, TidyErrFile, ctmbstr(TIDY_NULL_FILE));
     tidySetErrorFile(fTidyDoc, ctmbstr(TIDY_NULL_FILE));

{ where TIDY_NULL_FILE = 'NUL' for Windows }

Could someone tell me what I am doing wrong.

More information about the fpc-pascal mailing list