PC Review


Reply
Thread Tools Rate Thread

close down modem port?

 
 
Simon
Guest
Posts: n/a
 
      8th Sep 2003
Hi,

If I try to make a connection to the internet using WebRequest from PPC 2003
it connects fine through the compact flash modem. What I cannot figure out
is how to close down and disable the modem port when required. This used to
be a simple operation closing com5. Cannot work out how to do it under the
compact framework. Any ideas appreciated.

Regards,

Simon



 
Reply With Quote
 
 
 
 
Manni
Guest
Posts: n/a
 
      11th Sep 2003
Hy Simon!

We do things like that with a "wrapper dll" written in native C++.
You can do this alos with PInvoke, but for us it was much better to use
an external dll. You can do this with the "RAS API".

Enumerate the connections, find the open one and close it!

HTH

Manfred
"Simon" <(E-Mail Removed)> schrieb im Newsbeitrag
news:uRQ$(E-Mail Removed)...
> Hi,
>
> If I try to make a connection to the internet using WebRequest from PPC

2003
> it connects fine through the compact flash modem. What I cannot figure out
> is how to close down and disable the modem port when required. This used

to
> be a simple operation closing com5. Cannot work out how to do it under the
> compact framework. Any ideas appreciated.
>
> Regards,
>
> Simon
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Port with USB Modem - error can't open Port when querying mod =?Utf-8?B?THVXaGl0?= Windows XP Hardware 0 31st Aug 2006 06:10 PM
Modem Port In Use Rodger_B Windows XP General 0 20th Aug 2004 03:34 AM
Port 1033 (netinfo) port is open - what's it for and how do I close it? Neil Armstrong Windows XP Security 1 19th Sep 2003 06:32 AM
Port 1033 (netinfo) port is open - what's it for and how do I close it? Neil Armstrong Microsoft Windows 2000 Networking 1 17th Sep 2003 07:24 PM
Port 1033 (netinfo) port is open - what's it for and how do I close it Neil Armstrong Microsoft Windows 2000 Security 0 17th Sep 2003 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:29 PM.