Hiya,
> Should this not be #define szResLen (sizeof(szRes)/sizeof(WCHAR) - 1) ? Sorry, I must have dozed off. You are of course right, I'll resend in a minute. Good spotting! Jon ===== "Don't wait for the seas to part, or messiahs to come; Don't you sit around and waste this chance..." - Live [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com