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

From: John Spaith [MS] (jspaith_at_ONLINE.microsoft.com)
Date: 12/03/04

  • Next message: r_z_aret_at_pen_fact.com: "Re: Uninstaller and Windows CE Services"
    Date: Fri, 3 Dec 2004 09:09:47 -0800
    
    

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

  • Next message: r_z_aret_at_pen_fact.com: "Re: Uninstaller and Windows CE Services"

    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)