| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 1. What UID should we apply for the our plug-in? We are developing a controller plug-in based on MMF which is used for playi= ng AVI files. As we know, not all of the UID could be used for a controller= plug-in. We want to know what UID could we use for it? 2. What UID is able to alloc large memory and could be used for the plug-in= described abrove? We have made some test and found that, if we some UID, we can only alloc 8M= memory in total and will fail to alloc more memory. But if we don't use th= ese UID, we can not make plug-in run correctly. We want to know is there an= y UID both be available to the plug-in and be able to alloc large memory? |
|
#2
| |||
| |||
| Hi, +1. What UID should we apply for the our plug-in?+ You should request and own your UIDs. There is nothing special about partic= ular UIDs and you should not reuse existing ones for the standard reason - = matching should not depend on the UIDs. Matching is actually done by format= s, which include the UID of the controller to use. There is a trick if you = don't want a separate format class - the controller does not actually have = to create the associated format, so we now write controllers where the form= at exists as an associated resource only and is not subsequently used. +2. What UID is able to alloc large memory and could be used for the plug-i= n described above?+ Memory controllers normally have their own heap and the method is to state = the maximum in its resource file - using the <a> flag. It does not re= late to UIDs - I do not know where this comes from. However, to me 8MB soun= ds like lots of memory, given that once allocated it is not reclaimed until= the clip is closed. Having said that, there is I believe a maximum of 16MB= ..=20 Mark Symbian=20 |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.