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

A

A_StClaire_

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
 
M

Maxim Yegorushkin

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++.
 
P

phuusko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top