Connecting Tech Pros Worldwide Help | Site Map

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

  #1  
Old March 15th, 2006, 02:35 AM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a
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

  #2  
Old March 15th, 2006, 04:25 AM
Jaspreet
Guest
 
Posts: n/a

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



A_StClaire_@hotmail.com wrote:[color=blue]
> sorry if this is the wrong place... wasn't sure where else to ask
> this.
>[/color]
<probable symbian programming query>[color=blue]
>
> 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[/color]

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

  #3  
Old March 15th, 2006, 08:55 AM
Maxim Yegorushkin
Guest
 
Posts: n/a

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


A_StClaire_@hotmail.com wrote:[color=blue]
> sorry if this is the wrong place... wasn't sure where else to ask
> this.[/color]

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

  #4  
Old March 15th, 2006, 10:15 AM
phuusko@gmail.com
Guest
 
Posts: n/a

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


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

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


Petteri

  #5  
Old March 15th, 2006, 05:55 PM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a

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



Jaspreet wrote:
[color=blue]
> If you do not get any solution here, try:
> http://groups.google.com/group/symbian-programming[/color]

thx, Jaspreet.

  #6  
Old March 15th, 2006, 05:55 PM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a

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



Maxim Yegorushkin wrote:[color=blue]
> A_StClaire_@hotmail.com wrote:[color=green]
> > sorry if this is the wrong place... wasn't sure where else to ask
> > this.[/color]
>
> 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++.[/color]

Standard C++ rocks.

Closed Thread