Thanks, that looks great.  I will try compiling
for
WinCE and see if it works, but I can see no reason
why it should not.

Justin

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 30, 2000 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Dialling Out Re:
>
>
>
>
> I don't know if this is what you're
> looking for in this particular
> case, but I have made a tiny DLL to
> make it easier to call the Win32
> RAS functions from REBOL/Command
> without all the annoying
> Win32 structs.
>
> The DLL currently has function wrappers
> for RasDial, RasHangup and
> RasGetConnectStatus. You can find the
> source for the DLL here:
>
> http://www.d.kth.se/~d95-mjo/rebol/dlltest.cpp
>
> and the /Command example script here:
>
> http://www.d.kth.se/~d95-mjo/rebol/dialu
p_example.r

I've only tested it in Win98 and Win2000, but it
seems to work.
Obviously, this requires the /Command experimental
version for
Win9x/NT/2000. :-)

/Martin Johannesson, [EMAIL PROTECTED]



On Wed, 30 Aug 2000 [EMAIL PROTECTED]
wrote:

> IMHO the ability to connect to or disconnect
from
> the
> network connection is something one should be
able
> to do from a script.  Of course that still
leaves
> the
> question of which system functions the
implementor
> chooses to use to implment it.
>
> Anyway, I am stillleft with the problem of
getting
> a connection in some way.  Even (my copy of)
Win98
> does not have an 'Automatic Connection' button
and
> insists on some sort of user intervention.
>
> I am looking into the RASDial(...) function
which
> appears to do the job, but the documentation is
> obscure.  I had just hoped that someone had trod
> the
> path before me.  Heh Ho.


Reply via email to