Help me this error!

Login to reply to this topic.
Mon, 2005-01-17 03:18
Joined: 2005-01-01
Forum posts: 9
I using :
  iSendHandler = CSend_SMSSendHandler::NewL(*this);     // Send_Smsappui.cpp.
  iSendHandler is declared :    CMsvHandler* iSendHandler;  // Send_Smsappui.h
   ( I writing a program send SMS base on SMS example in Symbian 7.0)
But an error occur :
      error C2440: '=' : cannot convert from 'class CSend_SMSSendHandler *' to 'class CMsvHandler *'
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
How to solve this problem ?

Mon, 2005-01-17 09:50
Joined: 2004-07-28
Forum posts: 1379
Help me this error!
What type is iSendHandler?

And what does CSend_SMSSendHandler::NewL return?

didster

Sun, 2005-01-23 03:40
Joined: 2005-01-01
Forum posts: 9
Help me this error!
Sorry very much , recently I'm very busy , that I can't online to reply. Now I'm change my app same as SendAs_Example in Nokia's Forum because this error have relative with smuthdr.h and smutset.h in scmc.lib but I can't find two files on Internet.

Thank you,
Ho Van Nhan
Sun, 2005-01-23 03:41
Joined: 2005-01-01
Forum posts: 9
Help me this error!
Sorry very much , recently I'm very busy , that I can't online to reply. Now I'm change my app same as SendAs_Example in Nokia's Forum because this error have relative with smuthdr.h and smutset.h in scmc.lib but I can't find two files on Internet.

Thank you,
Ho Van Nhan
  • Login to reply to this topic.