Error Using iEikonEnv
Login to reply to this topic.
Mon, 2004-09-20 09:39
Joined: 2004-05-20
Forum posts: 308
I am trying to use iEikonEnv->AlertWin() in my Connection Model ..


This is the error i get
Error   : undefined identifier 'iCoeEnv'
CConnection.cpp line 48  (iEikonEnv->AlertWin(KMess1)Wink

Error   : undefined identifier 'iCoeEnv'
CConnection.cpp line 53  (iEikonEnv->AlertWin(KMess2)Wink

Error   : Compile failed

What is the problem ?

Thanks

Amit


Mon, 2004-09-20 10:22
Joined: 2003-12-05
Forum posts: 822
See how and where iEikonEnv is defined, and you will understand... Note that it has an i in front of it.

Instead of using iEikonEnv in places where you cannot, use CEikonEnv::Static().
Mon, 2004-09-20 10:48
Joined: 2004-05-20
Forum posts: 308
Thnx Andreas ..

Thanks

Amit


copyright 2003-2009 NewLC SARL