Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP-port-handling from FP26/D

Status
Not open for further replies.

MarkusHu

Programmer
May 3, 2008
1
HU
Hi,
We use the FP26/DOS still to monitoring some objects in our company. The events come from a serial port (RS232) in text form. We would like to move the events to a TCPIP port - so we need to solve the moving in our appl, too (until the application won't be replaced from FP26 to VFP).
I already searched a solving for handling of TCPIP-port from FP26/D, but I haven't found it until now. Could anybody help me in my problem?

Regards
Markus
 
In short, you can't. There is really no mechanism in Fox 2.x for handling any sort of communications, other than basic file or comm port I/O.

You would need to buy a 3rd party interface, (or write one) of some sort that would use API calls, or something that could take the data and write it to a file where you could read it later with Fox.

But instead of paying for 3rd party interfaces to use, you could save the money and apply it toward upgrading to VFP, where you could winsock.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
To Dave: not exactly :)

To Markus:
Do you use FPD in pure DOS environment or in windows system ?
In Windows, there is a possibility to use MAILSLOTs.
For mailslots I have done some code and this functions very well and very fast.

What I know, you can not use SOCKET functionality in dos window under NT/2000/XP, but
in Win9x you can do it by PLB library.
See

Tomas
 
Tomas,
...you can do it by PLB library...
Like I said:
...3rd party interface, (or write one) of some sort...

I know there are libraries, I have used them. But they are hard to come by, and being 16 bit based, quite frequently make the system unstable.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top