Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

in the below QCT code.

IEnv_CreateInstance(pMe->piEnv, AEECLSID_SMS, (void**)&pPushListener->piSMS)

ISHELL_CreateInstance(pMe->pIShell, AEECLSID_SMS, (void**)&pISMS)

 

like above, they use both IEnv and ISHELL using in the same AEECLSID_SMS

the constructor is that

int ISMS_New(IEnv *pIEnv, AEECLSID uCls, void **ppif)

 

Q. I understand the case of IEnv_CreateInstance, but the ISHELL_CreateInstance case doesn't ...

Is it possible using both ways like above using the same clsid? could you anyone explain that?

 

Thank you!

 

be more spicifically,,,
 
I want to know when call IEnv_CreateInstance or ISHELL_CreateInstance to create an obj, does each of cases call the same new_function(in this case ISMS_New)? 

be more spicifically,,,
 
I want to know when call IEnv_CreateInstance or ISHELL_CreateInstance to create an obj, does each of cases call the same new_function(in this case ISMS_New)?