IModCollector_GetAppletFlags not working | developer.brewmp.com IModCollector_GetAppletFlags not working | developer.brewmp.com

Developer

IModCollector_GetAppletFlags not working

Forums:

Hi All,

I am using IModCollector_GetAppletFlags(IModCollector* me, AEECLSID uClsID, uint16* phFlags) to get the hidden property of my applet.But the function is not executing properly and getting crashed in one internal function IModCollector_GetAppletClassProperty().

Can anybody tell me the solution.Thanks in advance.

Regards
Priya

priya.prakash wrote:Hi All,
I am using IModCollector_GetAppletFlags(IModCollector* me, AEECLSID uClsID, uint16* phFlags) to get the hidden property of my applet.But the function is not executing properly and getting crashed in one internal function IModCollector_GetAppletClassProperty().
Can anybody tell me the solution.Thanks in advance.
Regards
Priya
I am not seeing that issue. What platform are you using? Can you show more code?
I used:
uint16 uFlags;
if (AEE_SUCCESS ==
IModCollector_GetAppletFlags(pIMods,
uClassID, &uFlags))
{
DBGPRINTF("Flags : %d", uFlags);
}

priya.prakash wrote:Hi All,
I am using IModCollector_GetAppletFlags(IModCollector* me, AEECLSID uClsID, uint16* phFlags) to get the hidden property of my applet.But the function is not executing properly and getting crashed in one internal function IModCollector_GetAppletClassProperty().
Can anybody tell me the solution.Thanks in advance.
Regards
Priya
I am not seeing that issue. What platform are you using? Can you show more code?
I used:
uint16 uFlags;
if (AEE_SUCCESS ==
IModCollector_GetAppletFlags(pIMods,
uClassID, &uFlags))
{
DBGPRINTF("Flags : %d", uFlags);
}

Hi Jmiller,
I am using in BREW MP with C.My Code is
IModCollector *pIm;
uint16 phFlags;
error=ISHELL_CreateInstance(pMe->piShell,AEEIID_IModCollector ,(void **)&pIm);
error= IModCollector_GetAppletFlags(pIm,AEECLSID_CONTACTSINJECTOR,&phFlags);
The first line is executing fine and error code is 0 but when the control comes to IModCollector_GetAppletFlags function a crash is coming in the internal function
IModCollector_GetAppletClassProperty().
Do I need any privilege setting for this ??
Any Idea ????
Thanks in advance
Regards
Priya

Hi Jmiller,
I am using in BREW MP with C.My Code is
IModCollector *pIm;
uint16 phFlags;
error=ISHELL_CreateInstance(pMe->piShell,AEEIID_IModCollector ,(void **)&pIm);
error= IModCollector_GetAppletFlags(pIm,AEECLSID_CONTACTSINJECTOR,&phFlags);
The first line is executing fine and error code is 0 but when the control comes to IModCollector_GetAppletFlags function a crash is coming in the internal function
IModCollector_GetAppletClassProperty().
Do I need any privilege setting for this ??
Any Idea ????
Thanks in advance
Regards
Priya

priya.prakash wrote:
error=ISHELL_CreateInstance(pMe->piShell,AEEIID_IModCollector ,(void **)&pIm);
should you be creating class id instance rather than interface?
that makes sense? i haven't tried this but just a guess!

priya.prakash wrote:
error=ISHELL_CreateInstance(pMe->piShell,AEEIID_IModCollector ,(void **)&pIm);
should you be creating class id instance rather than interface?
that makes sense? i haven't tried this but just a guess!

Hi manju,
Thanks for your response.Now the function is exectuing fine but the value of "phFlags" is not matching with any of the option given in the list.
any idea???
Thanks in advance
Regards
priya

Hi manju,
Thanks for your response.Now the function is exectuing fine but the value of "phFlags" is not matching with any of the option given in the list.
any idea???
Thanks in advance
Regards
priya

Hi Manju,
Thanks its working fine now :-)
Regards
Priya

Hi Manju,
Thanks its working fine now :-)
Regards
Priya