logcli.lib - "not found"

Login to reply to this topic.
Wed, 2005-02-02 14:48
Joined: 2004-08-24
Forum posts: 127
On the P900 device :
I try to install an application with the logcli.lib included in the MMP file.
the logcli.lib exists in the SDK , but after installing the app on the device , when activating the app , I get the "Not found" notification.
(ofcourse I checked what happens when marking the relevant line in the MMP - the app openes with no problem ...)

what should I do in order to solve this problem ?

Thanks a lot , TE

Wed, 2005-02-02 15:15
Joined: 2004-08-24
Forum posts: 127
logcli.lib - "not found"
addition :
the lines that use the logcli.lib in my app that cause the "not found" notification :
iFs.Connect(); // iFs is of RFs type
iLogClient = CLogClient::NewL(iFs);
iRecentLogView = CLogViewRecent::NewL(*iLogClient);
Wed, 2005-02-02 15:28
Joined: 2004-07-28
Forum posts: 1379
logcli.lib - "not found"
Well the first thing I would to is to actually check to see if the logcli is on the phone - i.e. does the file logcli.dll actually exist in \system\libs

The "not found" message can come up for any number of reasons - one of which being a missing DLL, others being something leaving with KErrNotFound during  startup.

My guess would be the DLL isn't on the phone - and when you remove the lines:

iLogClient = CLogClient::NewL(iFs);
iRecentLogView = CLogViewRecent::NewL(*iLogClient);

the linker is removing the now unused refrence  to link with logcli.lib, so your app works.

Check this:

1.  Build you app (for the emulator) with the lines in (not working) and run:

dumpbin /dependents C:\path\to\your\app\

2.  Build you app (for the emulator) without the lines in (working) and run:

dumpbin /dependents C:\path\to\your\app\

In the section "Image has the following dependencies"  Is logcli.dll listed in either case?

didster

Wed, 2005-02-02 19:22
Joined: 2004-08-24
Forum posts: 127
logcli.lib - "not found"
Hi Didster ,
thanks a lot for this info ,
I'm going to check this first thing tomorrow morning  .

lets say I find out that the DLL is required and is absent on the mobile ,
Is there any way to get such a DLL (for the P900/800) ?

Best Regards , TE
Fri, 2005-07-08 15:03
Joined: 2005-07-07
Forum posts: 34
Re: logcli.lib - "not found"
Hi white_dragon,

Did you solve this problem ?

Ps: Please write how, if you did

Thanks!
Wed, 2005-07-27 14:35
Joined: 2004-08-24
Forum posts: 127
Re: logcli.lib - "not found"
I'm sorry to say that I didn't Sad
  • Login to reply to this topic.