Re: Windows CE Web Server + ASP + DLL
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Jan 2006 12:16:38 -0800
I did my best to answer on microsoft.public.windowsce.embedded.vc. Let's
continue the thread there to avoid fragmentation of the thread. In the
future, it's best to cross-post to groups so that the replies get carried
across the groups too.
Random comment: ASP doesn't care about IObjectSafety stuff. The idea is
that you can't execute ASP scripts on a device unless they are put there by
some sort of admin, and if a bad guy can put files on a device whereevr they
want then they own you already. With IE/PocketIE that's not the case since
you execute JScript in HTML you don't trust from across the web all the
time.
--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation
Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.
"David MB" <DavidMB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:003CA643-BE8A-4B37-B887-6A8DA507CC15@xxxxxxxxxxxxxxxx
> I'm not sure if I understand exactly where you're going to. I mean, I know
> this implementation works just for the security of the activex components
> trying to run over the Pocket Internet Explorer. But it has nothing with
> it,
> I think. I'll explain myself. What I mean is: the problem is something
> like a
> misundertood between the class and the asp server, so ASP server rises an
> error because it can "createobject", trying to instantiate the given
> class.
>
> Thank you anyway.
>
> David
>
> "<ctacke/>" wrote:
>
>> Does the ATL object implement IObjectSafety?
>>
>> -Chris
>>
>> "David MB" <DavidMB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@xxxxxxxxxxxxxxxx
>> > Hi.
>> >
>> > I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with
>> > windows
>> > ce
>> > web server). I made an application dll with eMbedded Visual Tools
>> > (eVc++)
>> > in
>> > ATL mode, just to generate one class to be called from asp (one simply
>> > message with a Hello World sentence). It compiles ok, and it takes the
>> > function DllRegisterServer with no problems at all. I register the dll
>> > in
>> > the
>> > iPaq, and it goes ok, even I know it's already registered when I
>> > rebuild
>> > the
>> > dll with the device as a target (ARM processor).
>> >
>> > The problems comes on trying to make the call to CreateObject from asp,
>> > which I make as follows:
>> >
>> > <%
>> > dim pruebaobject
>> > set pruebaobject = server.createobject(prueba.mensaje)
>> >
>> > ' also made as: set pruebaobject = create(prueba.mensaje) (without the
>> > "server" before.
>> > %>
>> >
>> > Pocket Internet Explorer rises the next error:
>> >
>> >
>> > Parse error in script
>> >
>> > Microsoft VBScript runtime error: '800a01b6'
>> >
>> > Description: Object doesn't support this property or method:
>> > 'Server.CreateObject'
>> >
>> > In file: /pruebadll.asp
>> > On line: 3
>> >
>> >
>> > I due 3 days with this error, looking for some information on the net,
>> > but
>> > I
>> > still haven't found any help, nor anywhere with a response for that.
>> > I'd
>> > be
>> > very gratefull if you somebody could help me, or tell me where to find
>> > information respectable.
>> >
>> > Thanks in advance.
>> >
>> > David
>> >
>>
>>
>>
.
- Follow-Ups:
- Re: Windows CE Web Server + ASP + DLL
- From: David MB
- Re: Windows CE Web Server + ASP + DLL
- From: David MB
- Re: Windows CE Web Server + ASP + DLL
- References:
- Re: Windows CE Web Server + ASP + DLL
- From: <ctacke/>
- Re: Windows CE Web Server + ASP + DLL
- From: David MB
- Re: Windows CE Web Server + ASP + DLL
- Prev by Date: WinCE5.00 Broken Passthru Driver
- Next by Date: Re: debug/networking while in the cradle
- Previous by thread: Re: Windows CE Web Server + ASP + DLL
- Next by thread: Re: Windows CE Web Server + ASP + DLL
- Index(es):
Relevant Pages
|
Loading