What does the HRESULT error code tell you the problem is?Quote:> i worked on windows 2000 professional english version,
>vc6, platform sdk(2001.2), i use AssocQueryString to
>retrieve the application associated with some document
>type, but it always return error code even if the .txt
>document. could anyone tell me why?
Show a short example of your code, perhaps someone will then be able
to help you.
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.