469,610 Members | 1,494 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,610 developers. It's quick & easy.

OT(? - Hope Not): estor.lib In Symbian .mmp File

sorry if this is the wrong place... wasn't sure where else to ask
this.

I am doing some Nokia Series 60 programming and have been staring at a
linker error the past three hours. the calling code that generates the
error is this:

void CListItem::ExternalizeL(RWriteStream& aStream) const
{
aStream << *iName;
}

basically writing a dereferenced HBufC* (iName) to file.

I suspect the error is due to my not including estor.lib in my .mmp
file correctly as my 'LIBRARY estor.lib' command always reverts to '//
[-] LIBRARY estor.lib' automatically after I try to compile.

does anyone have any idea what I'm doing wrong? do I need to place
estor.lib in a particular directory?

sorry for the ignorance

Mar 15 '06 #1
5 1746

A_*********@hotmail.com wrote:
sorry if this is the wrong place... wasn't sure where else to ask
this.
<probable symbian programming query>
does anyone have any idea what I'm doing wrong? do I need to place
estor.lib in a particular directory?

sorry for the ignorance


If you do not get any solution here, try:
http://groups.google.com/group/symbian-programming

Mar 15 '06 #2
A_*********@hotmail.com wrote:
sorry if this is the wrong place... wasn't sure where else to ask
this.


Note that Symbian C++ has nothing to do with the Standard C++, what
this group is dedicated to.

The major problem with Symbian C++ is that they use their home grown
Leave() stuff instead of C++ exceptions. Leave() is essentially a
longjmp. It does not respect destructors of stack objects what makes
most of C++ idioms like RAII not applicable.

I believe Symbian can't even claim the language they use is C++.

Mar 15 '06 #3
>I suspect the error is due to my not including estor.lib in my .mmp
file correctly as my 'LIBRARY estor.lib' command always reverts to '//
[-] LIBRARY estor.lib' automatically after I try to compile.


You must regenerate makefiles ("bldmake bldfiles") after modifications
to the mmp. I recommend forum.nokia.com for further symbian help.
Petteri

Mar 15 '06 #4

Jaspreet wrote:
If you do not get any solution here, try:
http://groups.google.com/group/symbian-programming


thx, Jaspreet.

Mar 15 '06 #5

Maxim Yegorushkin wrote:
A_*********@hotmail.com wrote:
sorry if this is the wrong place... wasn't sure where else to ask
this.


Note that Symbian C++ has nothing to do with the Standard C++, what
this group is dedicated to.

The major problem with Symbian C++ is that they use their home grown
Leave() stuff instead of C++ exceptions. Leave() is essentially a
longjmp. It does not respect destructors of stack objects what makes
most of C++ idioms like RAII not applicable.

I believe Symbian can't even claim the language they use is C++.


Standard C++ rocks.

Mar 15 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sullivan WxPyQtKinter | last post: by
3 posts views Thread by John Smith | last post: by
reply views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
2 posts views Thread by AAaron123 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.