Re: Windows CE Web Server + ASP + DLL



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
>> >
>>
>>
>>


.



Relevant Pages

  • Re: can i load my own dlls into services.exe, if how
    ... ISAPI extensions and ISAPI filters can be useful. ... > DLL via JScript 'new ActiveXObject' or the VBscript equivalent in your ASP ...
    (microsoft.public.windowsce.app.development)
  • ASP / ASP.NET
    ... Ich habe folgendes Vorgehen mit ASP erfolgreich getestet: ... Eine Active-X DLL übernimmt die Abfrage der ... (hat nichts mit dem Request aus ASP zu tun). ... es ist effizient und recht schnell weil die Abfrage der Datenbank ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: Registering a .NET assembly for COM interop access from an ASP page
    ... If I put my DLL in ... problems with ASP pages calling a strongly named assembly, ... Pointer to a null-terminated string that specifies the full path to ... So the IIS process or dllhost will check the lpCurrentDirectory in their ...
    (microsoft.public.dotnet.framework.interop)
  • Re: returning multiple recordsets from VB to ASP
    ... stored procedure and into an intermediate VB DLL: ... more awkward to do in SQL than in VB and the stored procedure is getting ... The ASP page anways puts the data into arrays, ...
    (microsoft.public.data.ado)
  • Re: isapi filter/etension
    ... like ASP, to execute. ... [Use your DLL to process the original file and dump output to a temporary ... ISAPI Filter which intercepts the ... SF_NOTIFY_URL_MAP event and maps pszPhysicalPath to the temporary filename ...
    (microsoft.public.inetserver.iis)

Loading