Thanks for your time and help.
Panic code is KERN-EXEC 3. I don`t know what I have to do. Below it`s my *.h file. Maybe it help.
Code:
/*
#ifndef SMSSENDER_H
#define SMSSENDER_H
// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include <msvapi.h>
#include <mtuireg.h>
#include <txtrich.h>
//deklaracja klas
class CSmsClientMtm;
/**
* CSMSSender
*
*/
class CSMSSender : public CActive, public MMsvSessionObserver
{
public:
// Constructors and destructor
/**
* Destructor.
*/
~CSMSSender();
/**
* Two-phased constructor.
*/
static CSMSSender* NewL(TBuf<255> aPhoneNo, TBuf<255> aMessage);
/**
* Two-phased constructor.
*/
static CSMSSender* NewLC(TBuf<255> aPhoneNo, TBuf<255> aMessage);
/**
* Od MMsvSessionObserver
*/
void HandleSessionEventL( TMsvSessionEvent aEvent, TAny* aArg1,
TAny* aArg2, TAny* aArg3 );
protected: // Functions from base classes
/**
* From CActive, DoCancel.
* Cancels any outstanding requests.
*/
void DoCancel();
/**
* From CActive, RunL.
* Handles an active object’s request completion event.
*/
void RunL();
private:
/**
* Constructor for performing 1st stage construction
*/
CSMSSender();
/**
* EPOC default constructor for performing 2nd stage construction
*/
void ConstructL(TBuf<255> aPhoneNo, TBuf<255> aMessage);
/**
* Tworzy obiekt SMS
*/
void CreateSMS();
void ScheduleL();
private:
/**
* Phone no
*/
TBuf<255> iPhoneNo;
/**
* SMS text
*/
TBuf<255> iMessage;
/**
* TState, enumy używane w RunL(
*/
enum TState
{
EWaitingForMoving = 1,
EWaitingForScheduling
};
/**
* iState, the state of the handler.
*/
TState iState;
/**
* iSession, the contact database.
* Owned by CSmsHandler object.
*/
CMsvSession* iSession;
/**
* iMtmRegistry, client MTM registry.
* Owned by CSmsHandler object.
*/
CClientMtmRegistry* iMtmRegistry;
/**
* iSmsMtm, SMS specific Client MTM.
* Owned by CSmsHandler object.
*/
CSmsClientMtm* iSmsMtm;
/**
* iOperation, the current message server operation.
* Owned by CSmsHandler object.
*/
CMsvOperation* iOperation;
/**
* iMtmUiRegistry, User Interface MTM Registry.
* Owned by CSmsHandler object.
*/
CMtmUiRegistry* iMtmUiRegistry;
};
#endif // SMSSENDER_H
Please help