Geoff Hutchison writes:
 > 
 > It's horrible practice to commit something that's broken, but the new
 > htstat program dies horribly. Here's the code that's causing the problems:
 >         cout << "htstat: Total words: " << words.WordRefs()->Count() << endl;
 >         cout << "htstat: Total unique words: " << words.Words()->Count() << endl;
 > 
 > It looks like a valid construction to me... Maybe not the best, but
 > certainly valid. I do the same thing for the DocumentDB and it works fine.

 Prior to using any htword/* class you must call WordContext::Initialize()
as in htdig and others. This initializes global objects for the htword/* 
classes.

        Cheers,

-- 
                Loic Dachary

                24 av Secretan
                75019 Paris
                Tel: 33 1 42 45 09 16
                e-mail: [EMAIL PROTECTED]
                URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to