Re: Windows CE webserver with ASP <--> C++ application

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


Date: Mon, 26 Apr 2004 11:05:05 -0700

To interface with C++, you will have to write an ActiveX object -- is a COM
object that supports the IDispatch interface. VBscript can call into COM
objects like this. This C++ COM object can then use some sort of
inter-process communication mechanism (like Window Messages, kernel messages
queues, shared memory and events, etc...) to deliver the information to your
already running application. Alternatly it can just write the data out to a
file (like the FileSystemObject WinCE does not support) and your application
could read this information.

If you have Platform Builder, there is a sample COM object written in C++
that runs in ASP as well as a set of ASP pages that make use of it in the
directory %_WINCEROOT%\public\servers\sdk\samples\http\asp. It's not doing
any inter-process communication, but you can get an idea of how to write the
object from looking at this. If you don't have Platform Builder but are
working with an OEM that is giving you the SDK they may be able to provide
you with this sample code if you don't have it presently.

If you are in neither of these scenarios, I would search the Internet for
information about writing COM objects that run on WindowsXP/Windows 2003
IIS's ASP, since the process will be very similiar for Windows CE and the
desktop.

-- 
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?  Let
us know!
https://www.windowsembeddedeval.com/community/newsgroups
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.
"Harddisk" <taratataiti@gmx.de> wrote in message
news:uYYyz$rKEHA.3944@tk2msftngp13.phx.gbl...
> Hello!
>
> I have a Windows CE PC104 with a webserver. This webserver understands
ASP.
>
> Now i want to give a variable from the ASP-code (in VisualBasicScript) to
a
> already running C++ application. How can i do this?
>
> First i wanted to write a file and read it out with C++. But this is not
> possible, because CE-ASP does not support the FileSystemObject:
> :-(
>
> Does anybody have another idea???
>
>
>
>
>
>


Relevant Pages

  • Re: Windows CE webserver with ASP <--> C++ application
    ... So your ASP page becomes: ... © 2003 Microsoft Corporation. ... > possibilities using the FileSystemObject which is not supported by Windows ...
    (microsoft.public.windowsce.embedded)
  • Re: Another windows CE 4.2 web server bug?
    ... I'm afraid this is a bug in ASP. ... © 2003 Microsoft Corporation. ... > yields the following correct HTML source with IIS under Windows XP: ... > whereas the Windows CE server yields the following incorrect code ...
    (microsoft.public.windowsce.embedded)
  • Re: Should we stay with M$
    ... Windows, and not on Linux. ... MS has a poor track record, has done since People started 'targetting' ... Apache does not have support for full-blown ASP ...
    (RedHat)
  • RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition
    ... could have something to do with a different set of server environment/account ... > In this group we typically deal with issues related to migrating Windows ... > migrate the current ASP code to this new environment. ... > In one of the ASP pages, a scheduled task is set up via Wscript.Shell ...
    (microsoft.public.windows.server.migration)
  • IIS doesnt display ASP pages, COM+ damaged
    ... Original post: ... I have a problem with ASP Pages not working on my Windows XP ... Component services, open up the node for Component services and click ...
    (microsoft.public.windowsxp.general)