CE 6.0 IHTMLDocument2 don't execute scripts
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:
then I load the stream in a different method and try to display it in the browser window of my application
if (dStreamMem != NULL)
dStreamMem = GlobalAlloc(GMEM_MOVEABLE | GMEM_NODISCARD,size - (content - dBuffer) + additionalHTMLLen);
BYTE* dStreamMemBuf = (BYTE*)GlobalLock(dStreamMem);
memcpy(dStreamMemBuf,content,size - (content - dBuffer));
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.
IPersistStreamInit* persistStream = NULL;
//Get document object
LOG('I', "Load Stream failed!\r\n");
ret = FALSE;
Anyone an idea what could cause such a behaviour?