Re: Cloning the Windows CE Web Server ASP sample



Yes - this is possible but on older sets of the tools there is some trick to
allowing incoming server connections. I have the newer tools installed so I
don't know the exact options, so buyer beware on this one. But I seem to
recall when you dug into the config settings for your emulator & on
networking, there were 3 options -- something like disabled, NAT(??), and
something else I can't remember for the life of me (I want to say it was
virtual switch or virtual something like that). It's that 3rd option that
you want that will have the CE act like a real device.

I'm not sure how ping is working for you, unless ICMP somehow sneaks under
the covers.

You may also want to make sure you have not inadvertantly brought in the CE
device side firewall (I think it's fw6.dll & fwapi.dll), as this would cause
incoming packets to get tossed once they got to the emulaed CE device
regardless of underlying emulator connection. I'm surprised if the default
firewall would allow ICMP but it's been forever since I looked into this.

--
John Spaith
Senior Software Design Engineer
Windows CE Networking
Microsoft Corporation

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. © 2007 Microsoft Corporation. All rights
reserved.

"Alan Green" <AlanGreen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:841F945B-51D8-4853-90A2-929349367BD7@xxxxxxxxxxxxxxxx
Hi John

Thanks for the explaination. By the way, do you know whether I should be
able to get the web server to work under the device emulator? It doesn't
work
for me although I am able to ping in both directions (between WinCE under
emulator and the host PC). I have asked the question in the emulator
forum,
but I thought maybe you might know.

Alan

"John Spaith [MS]" wrote:

The .reg and the DllRegsiterServer are redundant. You can tell I wrote
this
not long out of college not only by redundancy but also in that I didn't
know how to use built-in ATL stuff very well in my manually implementing
the
fcn :).

I don't think it's a huge deal no matter which way you go, I'd personally
go
for the .reg file though so I wouldn't have to worry about manually
registering COM object.

--
John Spaith
Senior Software Design Engineer
Windows CE Networking
Microsoft Corporation

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. © 2007 Microsoft Corporation. All
rights
reserved.

"Alan Green" <AlanGreen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B758FC86-2776-4268-A10C-CDB00DF9CAB3@xxxxxxxxxxxxxxxx
Valter, thank you very much.
I've not been able to test the solution out yet as my hardware isn't
working
and I can't get a connection to the web server when running under the
device
emulator.

Alan






.



Relevant Pages

  • Re: Activesynch error 0x80072efd
    ... This Posting is provided "AS IS" with no warranties, and confers no rights. ... settings and it is not set up to use a proxy server. ... GPRS connection or when the device is connected with another computer ...
    (microsoft.public.pocketpc.activesync)
  • RE: VPN Connection
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... I have re tried using the DNS ... >Ethernet adapter Local Area Connection: ... >> and connectivity issues on a Routing and Remote Access Server that also ...
    (microsoft.public.windows.server.sbs)
  • pocket pc emulator with sql server 2005
    ... i am having trouble with connection for the device emulator to sql ... server databse residing in my pc. ... the emulator but i still canot connect to the database. ...
    (microsoft.public.dotnet.framework.compactframework)
  • pocket pc emulator with sql server 2005
    ... i am having trouble with connection for the device emulator to sql ... server databse residing in my pc. ... the emulator but i still canot connect to the database. ...
    (microsoft.public.dotnet.framework.compactframework)
  • sql server in pocket pc
    ... i am having trouble with connection for the device emulator to sql ... server databse residing in my pc. ... the emulator but i still canot connect to the database. ...
    (microsoft.public.pocketpc.developer)