Re: Windows CE webserver with ASP <--> C++ application
From: John Spaith [MS] (jspaith_at_ONLINE.microsoft.com)
Date: 04/26/04
- Next message: Steven Young: "Windows CE password problem"
- Previous message: Tim Wescott: "Re: Data transfer for real time analysis"
- In reply to: Harddisk: "Windows CE webserver with ASP <--> C++ application"
- Next in thread: Harddisk: "Re: Windows CE webserver with ASP <--> C++ application"
- Reply: Harddisk: "Re: Windows CE webserver with ASP <--> C++ application"
- Messages sorted by: [ date ] [ thread ]
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??? > > > > > >
- Next message: Steven Young: "Windows CE password problem"
- Previous message: Tim Wescott: "Re: Data transfer for real time analysis"
- In reply to: Harddisk: "Windows CE webserver with ASP <--> C++ application"
- Next in thread: Harddisk: "Re: Windows CE webserver with ASP <--> C++ application"
- Reply: Harddisk: "Re: Windows CE webserver with ASP <--> C++ application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|