|
|
|
To write a converter DLL project file, specify the following in the
.mmp file:
the extension of the target file as .dll
specify the TARGETTYPE as plugin
specify 0x10009d8d as the second UID. This value
identifies the DLL as an ECOM plugin. The third UID (0xE800009B in
this example) must be unique and properly allocated. See the
Symbian Signed web
site for information on how to allocate UIDs.
the library section must include conarc.lib.
This .mmp file builds a converter DLL called
abc.dll:
TARGET abc.dll
TARGETTYPE plugin
UID 0x10009d8d 0xE800009B
CAPABILITY All -Tcb
sourcepath .
// Standard ECOM registration resource file
start resource E800009B.rss
target abc.rsc
end
// Describes the properties of the converters implemented in the DLL.
// E80000AC.rss is named after the converter's UID.
start resource E80000AC.rss
targetpath \resource\convert
end
userinclude .
systeminclude . \epoc32\include
systeminclude \epoc32\include\ecom
source abc.CPP
library EUSER.LIB CONARC.LIB estor.lib