Groups > Symbian > Symbian SDKs > Re: SDK60_3rd Error:undefined identifier 'TDllReason'




Re: SDK60_3rd Error:undefined identifier 'TDllReason'

Re: SDK60_3rd Error:undefined identifier 'TDllReason'
Tue, 04 Jul 2006 10:31:34 +010
On Tue, 04 Jul 2006 08:49:48 +0100, Catherine  
<watermark_wuyan@hotmail.com> wrote:

> Hi,
>   I am trying to port my C code from S80 to S60_3rd edition. However,I  
> got
> an error: undefined identifier 'TDllReason'.
> Here's my declaration of E32DLL. It works fine in symbian 7 and 7s.
>
> #include <e32uid.h>
>
> GLDEF_C TInt E32DLL(TDllReason)
>
> {
>     return (KErrNone);
>
> }
>


Simply remove the function when building for EKA2 (S60_3rd).
In EKA2 the function isn't called, and shouldn't exist.


> Thanks!
>
> Catherine
>
>



-- 
Alan Montgomery

  /"\
  \ / ASCII ribbon campaign
   X  against HTML mail
Post Reply
SDK60_3rd Error:undefined identifier 'TDllReason'
Tue, 4 Jul 2006 15:49:48 +0800
Hi,
  I am trying to port my C code from S80 to S60_3rd edition. However,I got
an error: undefined identifier 'TDllReason'.
Here's my declaration of E32DLL. It works fine in symbian 7 and 7s.

#include <e32uid.h>

GLDEF_C TInt E32DLL(TDllReason)

{
    return (KErrNone);

}

Thanks!

Catherine

Post Reply
Re: SDK60_3rd Error:undefined identifier 'TDllReason'
Wed, 5 Jul 2006 10:55:14 +0100
You don't actually need this function in S60 3rd Edition, as it runs on top
of Symbian OS v9. Have a look at the technical paper about migrating apps
(http://www.symbian.com/developer/techlib/papers/SymbianOSv91/Migrating_appl
ications_v9.1.pdf) for details on this (section 3.3) and other things you'll
need to consider. There's also a basic HelloWorld example in the SDK which
may be useful.

Mark
Symbian Developer Network

Post Reply
about | contact