Re: application running on emulator not running on device. Help needed
by gauravj_home@[EMAIL PROTECTED]
(Gaurav)
Sep 17, 2004 at 06:37 AM
Thanks for the prompt reply.
Here is what i did. I took a basic GUI program and added a CEikLabel
in the Container Class. I then drew some simple graphics (boxes etc)
on the screen. This code went into the Draw function. It was working
perfectly till this point. After testing properly I added a new class
CMyProgramEngine to my code. Made iMyProgramEngine a private member of
the Container class and called iMyProgramEngine = CMyProgramEngine
::NewL(); in its ConstructL function. Also I added "delete
iDeliveryAgentGUIEngine;" in its destructor.
The NewL() function is the default one. I am not doing anything else
in it.
When I run it on the device I am getting a "System Error !" panic
message on the screen. There is no error code displayed. This error is
displayed on start up.
The suprising thing is that after getting this error message even if i
remove all the traces of CMyProgramEngine from my program it still
continued to give me this error. Note all this time it is working on
the emulator.
Earlier I thought the error is due to a
User::LeaveIfError(iDbSession.Connect()); function which i was calling
from the iMyProgramEngine object. (iDbSession is a RDbs object)
I added the ErrRd file the directory yopu specified and it still
giving me this error.
thankyou,
Gaurav Jain
"Lucian Tomuta" <tomutal@[EMAIL PROTECTED]
> wrote in message
news:<cibcev$7j6$1@[EMAIL PROTECTED]
>...
> Can you give us some more details? Like at which point are you getting
the
> panic? On start-up or while executing some commands?
>
> You should also tell us the panic code and category. If no such info is
> displayed you might need to create a empty file named ErrRd (no
extension)
> in c:\system\bootdata\ directory.
>
> Lucian
>
> "Gaurav" <gauravj_home@[EMAIL PROTECTED]
> wrote in message
> news:def721d7.0409151731.3ac7de4e@[EMAIL PROTECTED]
> > Hi all,
> >
> > I wrote a series 60 GUI application. Its a simple applcation which
> > gets some info from the database and displays it on the screen.
> >
> > I am able to run this application on the emulator but on the device.
> > It is giving me a system error. I have tested individual components
> > (GUI and database access)of this application on the device and they
> > all gave the desired results.
> >
> > What could be the reason for a application for not running on the
> > device.
> >
> > Gaurav Jain