Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 15th, 2006, 01:35 AM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a
Default 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


  #2  
Old March 15th, 2006, 03:25 AM
Jaspreet
Guest
 
Posts: n/a
Default 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, 07:55 AM
Maxim Yegorushkin
Guest
 
Posts: n/a
Default 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, 09:15 AM
phuusko@gmail.com
Guest
 
Posts: n/a
Default 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, 04:55 PM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a
Default 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, 04:55 PM
A_StClaire_@hotmail.com
Guest
 
Posts: n/a
Default 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.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.