Hello folks,
I have yet another problem with code taken more-less from the Symbian ICL reference.
My particular code is as follows:
It generates the following compiler errors:Code:TPngEncodeData imageData= new (ELeave) TPngEncodeData; imageData.iBitsPerPixel=16; imageData.iColor=true; imageData.iLevel=TPngEncodeData::EDefaultCompression; imageData.iPaletted=false; CFrameImageData* iFrameData=CFrameImageData::NewL(); iFrameData->AppendImageData(imageData);
Does anyone of you have any ideas what is happening here? I took the code straight from the Symbian web site...Code:..\src\mobilepaint\csaveimageao.cpp:48: function call '[TPngEncodeData].TPngEncodeData(TPngEncodeData *)' does not match ..\src\mobilepaint\csaveimageao.cpp:48: 'TPngEncodeData::TPngEncodeData()' ..\src\mobilepaint\csaveimageao.cpp:48: 'TPngEncodeData::TPngEncodeData(const TPngEncodeData &)' ..\src\mobilepaint\csaveimageao.cpp:55: function call '[CFrameImageData].AppendImageData({lval} TPngEncodeData)' does not match ..\src\mobilepaint\csaveimageao.cpp:55: 'CFrameImageData::AppendImageData(const TImageDataBlock *)' (non-static) Errors caused tool to abort.




