On Sun, 06 Jul 2003 22:54:44 +1000, Jussi Jumppanen
wrote:

>PR wrote:
>>
>> The example given on the MS site has two problems:
>>
>> 1) It crashes

>
>Did the code find the pfnShowModelessHTMLDialog entry point?
>
>Did you check if pURLMoniker was NULL?
>
>My guess one of these has failed, which is the reason for
>the crash.
>
>Jussi Jumppanen


Er....look at the code it checks for both those things:

if (pfnShowModelessHTMLDialog) // !!!!!
{
IMoniker *pURLMoniker;
BSTR bstrURL =
SysAllocString(L"http://www.example.com/dialogsource.htm");
CreateURLMoniker(NULL, bstrURL, &pURLMoniker);

if (pURLMoniker) // !!!!!


--
http://www.ransen.com/
Repligator - Easy graphics effects
Gliftic - Easy decorative tilings