Application to Exe conversion

Login to reply to this topic.
Mon, 2005-02-21 12:07
Joined: 2005-02-09
Forum posts: 9
My application uses a DLL (created by us) to set email box configuration, Its able to create/modify the mailboxes correctly, but when I convert this application into an exe it doesn't work (crash is observed, we have active scheduler installed by the exe). The crash is seen at the part where my CMsvEntry object tries to use ReadStoreL() to obtain the message store for the current context. (The object is created correctly with the desired values)
Please let me know if you have any idea? anything missing in the exe code which application framework provides?

Mon, 2005-02-21 12:20
Joined: 2004-07-28
Forum posts: 1379
Application to Exe conversion
Describe "crash"?  Does it panic?  Cause an access violation etc?

didster

Mon, 2005-02-21 12:24
Joined: 2005-02-09
Forum posts: 9
Application to Exe conversion
Quote from: didster
Describe "crash"?  Does it panic?  Cause an access violation etc?

The crash says
Unhandled exception Exset.exe(EUSER.DLL): 0xC0000005: Access Violation
Mon, 2005-02-21 12:29
Joined: 2004-07-28
Forum posts: 1379
Application to Exe conversion
Ok,

and how are you launching this EXE?  Are you running this on the emulator, then running the EXE rather than EPOC.exe, or are you starting EPOC.exe, then launching your EXE from a file browser of some kind?

Or is it on the phone?

didster

Mon, 2005-02-21 12:35
Joined: 2005-02-09
Forum posts: 9
Application to Exe conversion
This exe is launched directly right now, I checked it on target as well, but it crashes at the same point.
There is one more interesting obeservation, I tried to play with the .app and observed that if I call the methods to parse and set email box parameters inside AppUi::ConstructL the program crashes (at the same palce), but if I put a InfoWin in-between the parse and Set calls the application worked in AppUi.
Thu, 2007-04-05 06:52
Joined: 2007-01-12
Forum posts: 51
Re: Application to Exe conversion
Hi,

I am facing an almost same problem
Code:
First-chance exception in JPEGDECODERTEST.exe (EUSER.DLL): 0xC0000005: Access Violation.
with my code. My code is giving the error at
iFile.Write(iOutBuf, iLength);

where iOutBuf is a TPtr8 type. basically it is writing into the file and then coming out of the code. Some more code which are there are not executing then.

Please help me out.
TIA
  • Login to reply to this topic.