Hi all

  A have a small problem to do with a RAS dial up connection. I am using
Windows 2000 Shared Modem. I do not want to enable dial on demand because
programs like ICQ will cause the modem to dial all the time.

  So I wrote an COM Component to use from a ASP Page which is used to
Dial/hangup a RAS Connection. When it dials I can hear the modem's connect
and then it just stops. No more activity - the device never actually
connects at all, and it just stays like this. Sometimes I can dial using the
normal Dial Up Networking connect dialog, but sometimes I get errors like
"Another dial in in use on this connection".

So I thought that I would write a small app that takes command line
paramters to Dial and Hangup, this works fine from within Delphi or from the
WINDOWS shell. But if I shell out to it from my COM OBJECT on an ASP web
page the same as when I had the dialing functionality in the COM Control.

I have a debug window like the GEXPERTS has, which I can send debug info to
while my app is running. From Delphi and the Windows Shell it works fine,
but from the ASP Page my program does not send even send one line to the
debug window. I get nothing at all. Does the COM Component run in some
strange memory mode or something?

I looked at another COM Component docs and it said to turn on the "Interact
with the Desktop" in the World Wide Publishing Service. I did that but it
did not fix anything.

Has anyone got any pointers for me?, is there any COM Controls which will
dial a connection? has anyone seen any?

Pity Delphi does not have the ability to Debug the COM Control like VB does
while it is live on a WEB page.

Chris

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to