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

Mobile

 
Questionwindows phone 7 Pin
fithri31-May-11 22:54
fithri31-May-11 22:54 
AnswerRe: windows phone 7 Pin
Mark Salsbery4-Jun-11 7:37
Mark Salsbery4-Jun-11 7:37 
Questionhelp for simple encryption and decryption? [For Mac] Pin
Le@rner31-May-11 0:28
Le@rner31-May-11 0:28 
QuestionAlert message display when application in startup in hidden mode. [for MAC] Pin
Le@rner31-May-11 0:28
Le@rner31-May-11 0:28 
QuestionCross Platform Mobile Development Pin
Doug Richards30-May-11 14:07
Doug Richards30-May-11 14:07 
AnswerRe: Cross Platform Mobile Development Pin
Yoghurt_ge23-Jun-11 2:09
Yoghurt_ge23-Jun-11 2:09 
SuggestionRe: Cross Platform Mobile Development Pin
A_WoodApple24-Jun-11 8:00
A_WoodApple24-Jun-11 8:00 
QuestionWindows CE 6: Problems with IHTMLDocument2 and Scripts. Pin
lichtbringer26-May-11 2:11
lichtbringer26-May-11 2:11 
Hello,
I've got a program written in C++. It was working fine on former versions of Windows CE but now I've got a probleam that the the browser windows I'm using inside that application didn't execute any scripts anymore.
The strange thing is that if I load the url with the IE on that device all is working fine.
when the url is loaded I download the content into a screen:
if (dStreamMem != NULL)
{
    GlobalFree(dStreamMem);
}

RELEASE(dStream);

//Create stream
dStreamMem = GlobalAlloc(GMEM_MOVEABLE | GMEM_NODISCARD,size - (content - dBuffer) + additionalHTMLLen);
BYTE* dStreamMemBuf = (BYTE*)GlobalLock(dStreamMem);


memcpy(dStreamMemBuf,content,size - (content - dBuffer));
GlobalUnlock(dStreamMem);

if (FAILED(CreateStreamOnHGlobal(dStreamMem,false,&dStream)))
{
    LOGTAG(Error_Download_CreateStreamOnHGlobal_Failed);
}


then I load the stream in a different method and try to display it in the browser window of my application

IPersistStreamInit* persistStream = NULL;
//Get document object
if (FAILED(pBrowser->get_Document(&dDisp)))
{
    LOGTAG(Error_ShowPage_pBrowser_get_Document_Failed);
    goto CLEANUP;
}

if (FAILED(dDisp->QueryInterface(IID_IHTMLDocument2,(VOID**)&doc)))
{
    LOGTAG(Error_ShowPage_dDisp_QueryInterface_Failed);
    goto CLEANUP;
}

if (FAILED(doc->QueryInterface(IID_IPersistStreamInit,(void**)&persistStream)))
{
    LOGTAG(Error_ShowPage_doc_QueryInterface_Failed);
    goto CLEANUP;
}
if (FAILED(persistStream->Load(dStream)))
{
    LOG('I', "Load Stream failed!\r\n");
    LOGTAG(Error_ShowPage_persistStream_Load_Failed);
    ret = FALSE;
    goto CLEANUP;
}


The page is displayed in HTML without any errors (or at least it seems so) but when I press a button there nothing is happen.
Anyone an idea what could cause such a behaviour?
Zynismus ist der geglückte Versuch die Welt zu verstehen.

Zwei Dinge sind unendlich. Das Universium und die menschliche Dummheit. Nur beim ersteren bin ich mir nicht sicher.
Albert Einstein

QuestionI need some help Pin
miney26-May-11 1:47
miney26-May-11 1:47 
AnswerRe: I need some help Pin
Paul Heil22-Jun-11 3:55
Paul Heil22-Jun-11 3:55 
GeneralImage Steganography using LSB algorithms in Windows Phone in C# Pin
174t25-May-11 5:31
174t25-May-11 5:31 
QuestionRe: Image Steganography using LSB algorithms in Windows Phone in C# Pin
Mark Salsbery29-May-11 10:32
Mark Salsbery29-May-11 10:32 
QuestionWhy we do not have forum for Symbian Development Pin
Raj Aryan 100123-May-11 2:40
Raj Aryan 100123-May-11 2:40 
AnswerRe: Why we do not have forum for Symbian Development Pin
Luc Pattyn23-May-11 4:33
sitebuilderLuc Pattyn23-May-11 4:33 
AnswerRe: Why we do not have forum for Symbian Development Pin
HimanshuJoshi23-May-11 4:46
HimanshuJoshi23-May-11 4:46 
Questionin-house development or using third party tools for an App. Pin
AndyInUK20-May-11 6:09
AndyInUK20-May-11 6:09 
QuestionWP7 apps Pin
arkiboys19-May-11 15:19
arkiboys19-May-11 15:19 
AnswerRe: WP7 apps Pin
Mark Salsbery19-May-11 16:54
Mark Salsbery19-May-11 16:54 
GeneralRe: WP7 apps Pin
arkiboys19-May-11 19:34
arkiboys19-May-11 19:34 
AnswerRe: WP7 apps Pin
Joel Ivory Johnson11-Jul-11 5:54
professionalJoel Ivory Johnson11-Jul-11 5:54 
QuestionHow can i root my android device? Pin
Le@rner17-May-11 0:13
Le@rner17-May-11 0:13 
AnswerRe: How can i root my android device? Pin
Ravi Bhavnani18-May-11 18:14
professionalRavi Bhavnani18-May-11 18:14 
QuestionAdb interface of Sony Ericcsion X10 Mini? Pin
Le@rner16-May-11 2:20
Le@rner16-May-11 2:20 
Questionhow to make a listener to receive from HttpConnection Pin
williamroma13-May-11 1:40
williamroma13-May-11 1:40 
Questionsend to facebook Pin
Erdinc2712-May-11 9:17
Erdinc2712-May-11 9:17 

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.