Hello,
I am getting an error message when I try compile my app, the error message is:
[code:1]
..\\..\\..\\..\\SYMBIAN\\SERIES60_CW\\EPOC32\\INCLUDE\\e32des16.h: In method `PageGrabber::PageGrabber(class CMINOtaurView *)':
..\\..\\..\\..\\SYMBIAN\\SERIES60_CW\\EPOC32\\INCLUDE\\e32des16.h:175: `TDes16::TDes16()' is protected
..\\SRC\\Pagegrabber.cpp:66: within this context
[/code:1]
Now this same bit of code was compiling yersterday, I made no changes to that constructor function, but afew changes elsewhere in the class, namely the IssueRequest. I've tried a few things to try and locate the source of the problem, but to no avail.
Here is the function at line 66:
[code:1]
PageGrabber::PageGrabber(CMINOtaurView* aView) : CActive(EPriorityStandard)
{
iView = aView;
iConnectState = ENotConnected;
count = 0;
}
[/code:1]
Also here is the PageGrabber class definition:
[code:1]
class PageGrabber : public CActive {
// active object states
enum TState {
ENotConnected,
ENameResolved,
ESocketOpened,
EGrabbingPage,
EShuttingDownConnection
};
public: // constructers/deconstructers
PageGrabber(CMINOtaurView* aView);
~PageGrabber();
static PageGrabber* NewLC(CMINOtaurView* aView);
static PageGrabber* NewL(CMINOtaurView* aView);
void ConstructL();
void IssueRequest(URL aURL, TDes *aFilename);
void DoCancel();
void RunL();
private:
CMINOtaurView* iView;
URL webpage;
RSocketServ socksvr;
RSocket sock;
RHostResolver resolver;
RFile outstream, logstream;
RFs fsSession;
TState iConnectState;
TNameEntry iHostEnt;
TRequestStatus iStatus;
TSockXfrLength reslen;
TInt count;
TDes filename; // file name to save the downloaded stream to
};
[/code:1]
Now all I need is someone to help point me in the right direction of what is causing this error.
Thanks
dalore