Hi All,

I use wininet.dll from Microsoft to perform FTP and HTTP 'gets' from servers
for some daily data I use in MapInfo.  It works ok, but you have to be able
to wait for the data to get there.  I use a flag file to perform that.

There is a good example in the Microsoft MSDN samples - I think it was
called ftpget??  It was easy to modify to work on my server here.

Thanks
Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 05, 2000 5:02 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: MI Sockets, WinSockets and MapBasic


I would suggest, that you use the wininet.dll from Microsoft. This dll is an
encapsulation of most of the winsockets functionality. I you muck around
www.microsoft.com or the microsoft developer network, you can find
wininet.dll and several code examples written i Visual Basic. The examples
can be translated to MapBasic..
This link: http://www.vbip.com/wininet/index.asp points to some examples
using VB and Wininet API (I've found it using www.google.com)

Bo Thomsen
GeoConsult I/S
Denmark
   

> -----Oprindelig meddelelse-----
> Fra:  James McCormick [SMTP:[EMAIL PROTECTED]]
> Sendt:        4. april 2000 19:07
> Til:  [EMAIL PROTECTED]
> Emne: MI Sockets, WinSockets and MapBasic
> 
> Hi List,
> 
> Has anyone compiled a MapBasic MBX that directly uses socket technology
> to transfer data between applications?  I have a feeling it may be
> possible through the Microsoft ws*.dll's, however after some
> investigation, I'm still not sure.
> 
> Comments, suggestions  and / or  example code would be most helpfull.
> 
> James McCormick
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to