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

Developer

Forums

Forums:

With brew 3.x we use to add AEEGROUPID_REGISTRY_MGR as depedency in MIF with help of MIF Editor.

But now we are using Brew MP Resource Manager for creating cif and compiling it to mif.

 

Brew MP Resource Manager doesn't list out AEEGROUPID_REGISTRY_MGR, it only list out AEECLSID_...

 

What should be resolution for such issue?

 

# Should add AEEGROUPID_REGISTRY_MGR as privilege ?

# Should edit the mif after creating it form Brew MP Resource Manager using BREW 3.x MIF Editor ?

# Should add AEEGROUPID_REGISTRY_MGR as privilege ? - NO, that won't solve the purpose
# Should edit the mif after creating it form Brew MP Resource Manager using BREW 3.x MIF Editor ? - MIF would currupt if you do so.
 
seems like an issue/constraint with Resource manager. for now do the below:-
 
Go to Source of the CIF File, by clicking Source on the Resource Manager.
Add the dependency as in the below example using CIF Source & save & compile the CIF to a MIF:
____
//Add this line at the top among other include statements
include "AEEGROUPID_REGISTRY_MGR.BID"
 
//Add this line below all include statements
-- Include Directory = C:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.488\platform\system\inc
 
//you may add the below at the bottom of all other code in the CIF
Dependencies{    AEEGROUPID_REGISTRY_MGR}
_____
 
typical CIF after adding may look like:
include "scheck.bid"
include "AEEGROUPID_REGISTRY_MGR.BID"

-- Include Directory = C:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.488\platform\system\inc

ModRsc {
id = 20, -- Applet base resource id
type = 1, --RESTYPE_ENCSTRING (see AEEResType.h)
data = UTF16_EncString("scheck")

ModRsc {
id = 21,
type = 6, --RESTYPE_MIMETYPED (see AEEResType.h)
data = ImageRscData("image/png", BytesOfFile("scheck_ico.png"))

Applet {
appletid = AEECLSID_SCHECK,
resbaseid = 20, -- Applet base resource id
applethostid = 0,
type = 0,

Dependencies{
AEEGROUPID_REGISTRY_MGR

 
 

# Should add AEEGROUPID_REGISTRY_MGR as privilege ? - NO, that won't solve the purpose
# Should edit the mif after creating it form Brew MP Resource Manager using BREW 3.x MIF Editor ? - MIF would currupt if you do so.
 
seems like an issue/constraint with Resource manager. for now do the below:-
 
Go to Source of the CIF File, by clicking Source on the Resource Manager.
Add the dependency as in the below example using CIF Source & save & compile the CIF to a MIF:
____
//Add this line at the top among other include statements
include "AEEGROUPID_REGISTRY_MGR.BID"
 
//Add this line below all include statements
-- Include Directory = C:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.488\platform\system\inc
 
//you may add the below at the bottom of all other code in the CIF
Dependencies{    AEEGROUPID_REGISTRY_MGR}
_____
 
typical CIF after adding may look like:
include "scheck.bid"
include "AEEGROUPID_REGISTRY_MGR.BID"

-- Include Directory = C:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.488\platform\system\inc

ModRsc {
id = 20, -- Applet base resource id
type = 1, --RESTYPE_ENCSTRING (see AEEResType.h)
data = UTF16_EncString("scheck")

ModRsc {
id = 21,
type = 6, --RESTYPE_MIMETYPED (see AEEResType.h)
data = ImageRscData("image/png", BytesOfFile("scheck_ico.png"))

Applet {
appletid = AEECLSID_SCHECK,
resbaseid = 20, -- Applet base resource id
applethostid = 0,
type = 0,

Dependencies{
AEEGROUPID_REGISTRY_MGR