Hi,

I'm trying to use XPCOM components (specifically addressbook) is my application
and I've initialized everything as in the NS_Init_Embedding methods (appart from
the GUI part which I don't need), but I'm still getting failures from the 
components when they make a call like the following:

    rv = NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR,
getter_AddRefs(profileDir));

Which fail, with NULL being returned... This means that elsewhere things 
are dying...

Is there something else I should be initializing that would allow for this to
work? 

Many Thanks,

Darren.
begin:vcard 
n:Kenny;Darren
tel;fax:+353 1 8199078
tel;work:+353 1 8199115
x-mozilla-html:FALSE
org:<A HREF="http://www.sun.com/">Sun Microsystems</A>;Desktop Applications and Middleware
adr:;;;Dublin;;;Ireland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;20936
fn:Darren Kenny
end:vcard

Reply via email to