diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-04C294A2-C63B-55A7-82DE-379BBFA05EF9.dita --- a/Symbian3/PDK/Source/GUID-04C294A2-C63B-55A7-82DE-379BBFA05EF9.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-04C294A2-C63B-55A7-82DE-379BBFA05EF9.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,15 +1,15 @@ - - - - - -Creating an Animation DLL Object

This topic provides information about implementing CreateCAnimDllL().

Use CreateCAnimDllL() to construct the CAnimDll derived server side DLL class. For example, for a DLL class called CExampleAnimDll the following code would appear in the DLL source file:

// the only exported function in the DLL -IMPORT_C CAnimDll* CreateCAnimDllL(); -EXPORT_C CAnimDll* CreateCAnimDllL(){return new(ELeave) CExampleAnimDll;}

The use of both IMPORT_C and EXPORT_C statements is required to satisfy different compiler conventions.

Because this interface is defined by the Window Server, an animation DLL class must be linked against the Window Server definitions, otherwise linkage will fail. The mechanism is straightforward — include the following in your project mmp file:

TARGETTYPE ani + + + + + +Creating an Animation DLL Object

This topic provides information about implementing CreateCAnimDllL().

Use CreateCAnimDllL() to construct the CAnimDll derived server side DLL class. For example, for a DLL class called CExampleAnimDll the following code would appear in the DLL source file:

// the only exported function in the DLL +IMPORT_C CAnimDll* CreateCAnimDllL(); +EXPORT_C CAnimDll* CreateCAnimDllL(){return new(ELeave) CExampleAnimDll;}

The use of both IMPORT_C and EXPORT_C statements is required to satisfy different compiler conventions.

Because this interface is defined by the Window Server, an animation DLL class must be linked against the Window Server definitions, otherwise linkage will fail. The mechanism is straightforward — include the following in your project mmp file:

TARGETTYPE ani UID 268450594
Animations
\ No newline at end of file