Re: about IE in Windows CE6 Beta



hi, Paul,

Anyway, thanks all the same.

zhizi.

"Paul G. Tobey [eMVP]" wrote:

I think you're too late to report it as a new bug, now, anyway. Make sure
that any calls that you are making in your code are error-checked. Any
return value from a call that you're making which is not tested
(ERROR_SUCCESS, TRUE, whatever), is suspect. If any call is failing, get
the error code and understand what it's telling you.

Paul T.

"zhizi" <zhizi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8F3FFADF-31B8-49B4-B8F0-EBAB0BC75F54@xxxxxxxxxxxxxxxx
hi, Paul,
It is a pity that I am not a Connect beta participant .If it is a bug,
where can I report the problem?
When will the CE6 release be launched? I worry that there is still the
problem in release version.

zhizi.

"Paul G. Tobey [eMVP]" wrote:

OK, so you've disabled the safety checks. That's fine. If you're a
Connect
beta participant, you should be able to check the bug database and see if
that was reported/fixed. I don't know anything about it, specifically,
but
it does sound like a bug.

Paul T.

"zhizi" <zhizi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CDBD64B2-8C81-4401-9409-4A161D1D4F74@xxxxxxxxxxxxxxxx
Hi, Paul, I didn't mean that "the cause is the registration". I set IE
and
operate as follow:
1. "View"-->"Internet Options"-->"Advanced"-->"Browsing",check "Display
a
notification about every script error".
2. "View"-->"Internet Options"-->"Security", select "Internet"
Settings-->Enable"Initialize and script ActiveX controls not marked as
safe";
3. "View"-->"Internet Options"-->"Security", select "Local intranet"
Settings-->Enable"Initialize and script ActiveX controls not marked as
safe";
4. cpoy my test.ocx, MFC4E400.dll, OLECE400.dll and regsvrce.exe to
\Windows, and then run "regsvrce test.ocx" . Then it prompted me that
"DllRegisterServer in test.ocx succeeded."
5. Use IE to access Test.HTM, which is written as follow:
================ start ==================
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Windows CE 6.0">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>

<!--
Sub button1_onclick
DOcxtest1.JustTest()
End Sub
-->

</SCRIPT>
</HEAD>
<BODY>

<P>
<INPUT id=button1 type=button value=Button name=button1>
<OBJECT id=DOcxtest1
classid=clsid:82877D03-7A85-4578-BCC1-96BFCDFB696A>
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="1323">
<PARAM NAME="_StockProps" VALUE="0"></OBJECT>
</P>

</BODY>
</HTML>
================ end ==================
Then , the IE displayed an error:
Line: 9
Char: 1
Error: Object doesn't support this property or
method:'Docxtest1.JustTest'
Code: 0
...
...
I tried this on Windows CE 5.0, There was no error, the ActiveX was
used
successfully. By the way, my ActiveX control didn't implement
IObjectSafety.
Is there any difference between Windows CE 5.0 and Windows CE 6.0 Beta
about
this?

Zhizi.


"Paul G. Tobey [eMVP]" wrote:

Sorry, but the actual question was lost in what you're doing. You
want
to
use an ActiveX control in a browser? Does your control implement
IObjectSafety? There's a whole list of things that you have to do to
make
IE on Windows CE use an ActiveX control.

What error is returned? How do you conclude that because it doesn't
work,
the cause is the registration?

Paul T.

"zhizi" <zhizi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:520A6D57-8FE0-4C83-90CA-887C3633B2D7@xxxxxxxxxxxxxxxx
Excuse me, may I ask a question about Internet Explorer using in
Windows
CE6
Beta? I made a MFC ActivieX, and use REGSVRCE.EXE to register the
.ocx
file,
and it shows success, and then be invoked in test.HTML, but
encountered
ERROR. It seems that the ActivieX have not be regisitered actually.
I
don't
why, Could you help me please? Urgent.









.


Loading