Click here to Skip to main content
15,887,135 members
Home / Discussions / Mobile
   

Mobile

 
QuestionWhat to do with this type of error message (embedded Visual C++ 4.0)? Pin
kapardhi14-Apr-09 1:29
kapardhi14-Apr-09 1:29 
QuestionViewing animations on Winmobile 5.0 emulator Pin
Deepali Khalkar13-Apr-09 22:37
Deepali Khalkar13-Apr-09 22:37 
AnswerRe: Viewing animations on Winmobile 5.0 emulator Pin
Joel Ivory Johnson14-Apr-09 5:08
professionalJoel Ivory Johnson14-Apr-09 5:08 
AnswerRe: Viewing animations on Winmobile 5.0 emulator Pin
PavanPareta14-Apr-09 6:30
PavanPareta14-Apr-09 6:30 
QuestionSymbian executable file format Pin
K. Sushilkumar13-Apr-09 18:45
K. Sushilkumar13-Apr-09 18:45 
Questionform closing Pin
Deepali Khalkar12-Apr-09 22:35
Deepali Khalkar12-Apr-09 22:35 
AnswerRe: form closing Pin
Joel Ivory Johnson14-Apr-09 4:58
professionalJoel Ivory Johnson14-Apr-09 4:58 
QuestionAbout Mobile IE ATL ActiveX problem Pin
hongky12-Apr-09 19:36
hongky12-Apr-09 19:36 
i use EVC 4.0 to make a ATL ActiveX, and download it into my Windows Mobile.
it works fine firstly, but when i click IE REFRESH button, the ActiveX is disappeared.
it's so weird, any body can help me to find the solution?

BTW: the IE can show the ActiveX firstly, but not work when i refresh the IE.
the code is below:

class ATL_NO_VTABLE CMainObject : 
public CComObjectRootEx <CComMultiThreadModel>, 
public CComCoClass <CMainObject, &CLSID_MainObject>, 
public IDispatchImpl <IMainObject, &IID_IMainObject, &LIBID_TSMOBILEOBJECTLib>, 
public CComControl <CMainObject>, 
public IViewObjectExImpl <CMainObject>, 
public IOleControlImpl <CMainObject>, 
public IOleObjectImpl <CMainObject>, 
public IOleInPlaceActiveObjectImpl <CMainObject>, 
public IOleInPlaceObjectWindowlessImpl <CMainObject>, 
public IObjectSafetyImpl <CMainObject,INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA> 


BEGIN_COM_MAP(CMainObject) 
COM_INTERFACE_ENTRY(IMainObject) 
COM_INTERFACE_ENTRY(IDispatch) 
COM_INTERFACE_ENTRY(IViewObjectEx) 
COM_INTERFACE_ENTRY(IViewObject2) 
    COM_INTERFACE_ENTRY(IViewObject) 
    COM_INTERFACE_ENTRY(IOleInPlaceObjectWindowless) 
    COM_INTERFACE_ENTRY(IOleInPlaceObject) 
    COM_INTERFACE_ENTRY2(IOleWindow, IOleInPlaceObjectWindowless) 
    COM_INTERFACE_ENTRY(IOleInPlaceActiveObject) 
    COM_INTERFACE_ENTRY(IOleControl) 
    COM_INTERFACE_ENTRY(IOleObject) 
COM_INTERFACE_ENTRY(IObjectSafety)  
END_COM_MAP() 

BEGIN_CATEGORY_MAP(CMainObject)
IMPLEMENTED_CATEGORY(CATID_SafeForScripting) 
IMPLEMENTED_CATEGORY(CATID_SafeForInitializing) 
END_CATEGORY_MAP() 

BEGIN_MSG_MAP(CMainObject)  
CHAIN_MSG_MAP(CComControl <CMainObject>)  
DEFAULT_REFLECTION_HANDLER()    
END_MSG_MAP() 

HRESULT OnDraw(ATL_DRAWINFO& di) 
{ 
m_Rect = *((RECT*)di.prcBounds); 
m_hDC = di.hdcDraw; 
DrawText(m_hDC, _T("xxxxxxxxxx", -1, &m_Rect, DT_LEFT); 
return S_OK; 
} 


Great C++!

QuestionCeGetDeviceId() not working fine. Pin
Le@rner12-Apr-09 18:25
Le@rner12-Apr-09 18:25 
AnswerRe: CeGetDeviceId() not working fine. Pin
sivaddrahcir24-Apr-09 14:57
sivaddrahcir24-Apr-09 14:57 
Questionkeystroke not working in device application Pin
yrishi11-Apr-09 3:30
yrishi11-Apr-09 3:30 
AnswerRe: keystroke not working in device application Pin
sivaddrahcir24-Apr-09 13:44
sivaddrahcir24-Apr-09 13:44 
Questionhow to close messagebox after few seconds Pin
yrishi10-Apr-09 3:21
yrishi10-Apr-09 3:21 
AnswerRe: how to close messagebox after few seconds Pin
Le@rner10-Apr-09 18:10
Le@rner10-Apr-09 18:10 
GeneralRe: how to close messagebox after few seconds Pin
yrishi11-Apr-09 1:55
yrishi11-Apr-09 1:55 
Questionusing timer, device performace going very slow.......... Pin
yrishi8-Apr-09 18:19
yrishi8-Apr-09 18:19 
AnswerRe: using timer, device performace going very slow.......... Pin
PavanPareta9-Apr-09 7:12
PavanPareta9-Apr-09 7:12 
GeneralRe: using timer, device performace going very slow.......... Pin
yrishi9-Apr-09 20:27
yrishi9-Apr-09 20:27 
QuestionHow to transfer big file from PC to PPC but not using RAPI ? Pin
E_Gold8-Apr-09 1:50
E_Gold8-Apr-09 1:50 
AnswerRe: How to transfer big file from PC to PPC but not using RAPI ? Pin
sivaddrahcir9-Apr-09 12:44
sivaddrahcir9-Apr-09 12:44 
QuestionRapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
Le@rner8-Apr-09 0:54
Le@rner8-Apr-09 0:54 
AnswerRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
sivaddrahcir9-Apr-09 12:59
sivaddrahcir9-Apr-09 12:59 
GeneralRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
Le@rner9-Apr-09 18:31
Le@rner9-Apr-09 18:31 
GeneralRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
sivaddrahcir10-Apr-09 8:24
sivaddrahcir10-Apr-09 8:24 
GeneralRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
Le@rner10-Apr-09 18:07
Le@rner10-Apr-09 18:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.