PDA

View Full Version : IShell_CreateInstance(..., AEECLSID_WEB, ...) Error


kaustubh_gawand
08-09-2003, 03:40 PM
Hi,

I am new to BREW development - I am trying to create an instance of IWeb as follows -

if (ISHELL_CreateInstance(My->my.m_pIShell, AEECLSID_WEB, (void**)(&My->m_pIWeb)) != SUCCESS)
{
DBGPRINTF("Error");
// DO SOME STUFF
return;
}

-------------------------------

I am getting an IWeb failed error .... basically IShell_CreateInstance RETURNS !SUCCESS ....

Can anybody help me on this - what could be the possible cause of error ? and how can I fix it ??

Thanks, in anticipation,
-K-

ThePhoneWiz
08-09-2003, 07:23 PM
In the app's .mif file, did you check Privilege levels ("Web Access" & "Network") under "General" tab?

kaustubh_gawand
08-09-2003, 08:21 PM
Hi ThePhoneWiz,

Thanks - it worked ... guess was a dumb question :-) .. appreciate your help ....

-K-