Re: can i load my own dll's into services.exe, if how

From: shiva (shiva_at_discussions.microsoft.com)
Date: 12/06/04


Date: Mon, 6 Dec 2004 09:22:21 -0800

first of all i want to know, what are ISAPI extensions and ISAPI filters,
where we will use this in our implementation. i read the MSDN docs but i
didnt understand well. can you share some idea about this and also tell me
where can i get much more information on this.
   in our situation, the dll's are normal dll's, not COM dll's. functions
are exposed in the dll, then now how can i call those functions from my asp
page. i need to validate user information, on success he need access to rest
of the system. here we have one more problem that is two process are running
in the devices and using the same dll's, services.exe is running on webserver
and one more application process is also running on device side. these two
processes are loading the same dlls. so, now i need to create only one copy
of the instace to two process then any updates in one process has to effect
while reading from other process. hope you understand what i need. here i
have two ideas, one file mapping and other one is creating one more COM exe,
where this two processes can use this exe. but in this also we are facing
some problems. do you have any suggestions to achieve this, here how this
ISAPI extensions and ISAPI filters can be useful. with this ISAPI's can we
achieve any solution for this, or else is this ISAPI's can be useful to
access the rest of the system, if how.

if you give any soutions for this i'm very very thankful to you... if you
want more clear also i can

thanks & regards
shiva

"John Spaith [MS]" wrote:

> You need to write your COM dll as an ActiveX object. Then you can load this
> DLL via JScript 'new ActiveXObject' or the VBscript equivalent in your ASP
> page. This works the same in services.exe as any other process on CE.
>
> If you have Platform Builder, you can see a sample ActiveX object and ASP
> pages that call into it to configure the web server's virtual roots. It's
> in %_WINCEROOT%\public\servers\sdk\samples\http\asp. There should be other
> samples for IIS/desktop ASP on the net showing you how to do this, and it
> should hopefully port over to WinCE without too many problems.
>
> --
> 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.
>
> "vamc" <vamc@discussions.microsoft.com> wrote in message
> news:F9C4DC6F-3E0D-4A6A-A941-E2A11C6D7F3E@microsoft.com...
> > hello,
> > i want to load my own dll's which are normal dll's not comm dll's into
> > services.exe, how can i do this in windows ce. actually i'm developing a
> > asp
> > page where i get username and password from the client for my own user
> > authentication. here, i need call my dll functions for verification of the
> > user authentication but the functions in the dll are not exposed, then how
> > can i call that dll functions from my asp page for authentication. their
> > how
> > can i load my dlls and get those function to call from an asp page.
> > anyone can suggest me how can i achieve this task.
> >
> > thanks & regards
> >
> >
>
>
>



Relevant Pages

  • RE: [Q] CGI on the web server, which is included in CE 4.2
    ... supports ISAPI extensions, ISAPI filters, and ASP. ... This posting is provided solely for informational use. ...
    (microsoft.public.windowsce.platbuilder)
  • 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: can i load my own dlls into services.exe, if how
    ... If the MSDN docs don't make sense about ISAPI extensions/ISAPI filters, ... ASP pages can call through to access them. ... This DLL will ... MSMQ - see CreateMsgQueuefor internal message queues) may work for inter ...
    (microsoft.public.windowsce.app.development)