Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 15th, 2006, 02: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, 04: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, 08: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, 10: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, 05: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, 05: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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles