i am having problem with creating a CEikEdwin object. i dont want to create it from a resource file. the program seems to be creating the object (i can see the cursor) but crashes just after that and gives an error -- the memory couldnt be written. what could be going wrong? the code is below -
CEikEdwin* iEdwin = new (ELeave) CEikEdwin;
iEdwin->ConstructL(0,1,50,10); // <<---- is this ok?