If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Other PC Databases > Serial Communications MSComm32.ocx

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-09, 14:13
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
Serial Communications MSComm32.ocx

I have an old Foxpro 2.5 Windows application that uses .fll subroutines for serial i/o. We have all the source code, including the assembler that was used to create the serial port access.
My customer would like to update it (I don't know why he is complaining, his 486 with DOS and Win 3.11 never blue screens!)
I looked at some technical articles about mscomm32 from Microsoft, but I still don't feel enlightened.
Anyone have any ideas about pointing me in the right direction?
Reply With Quote
  #2 (permalink)  
Old 09-18-09, 14:32
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,612
Very few machines today even have serial ports, and youi often need special drivers to support them. MSCOMM32.DLL is 32 bit, and is emphatically NOT supported by WOW32, even though it can sometimes be coaxed into working anyway.

This can be done, you can get serial communications from today's hardware if you're finicky about what serial port add-on you get and what program or programming language(s) you try to support. It is what my favorite college professor used to call "a non-trivial exercise" to get it working though!

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #3 (permalink)  
Old 09-18-09, 15:02
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
Pat,
What I really really want, is to update the entire system to XP and Foxpro 6.0 or newer. I can get 2 port serial PCI cards if need be.
Thanks,
Jack
Reply With Quote
  #4 (permalink)  
Old 09-18-09, 15:10
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,612
FoxPro 6.0 can support MSCOMM32.DLL as long as the serial card you get can support it too. Some cards require you to download a replacement MSCOMM32.DLL from the vendor's web site which has been customized to support that specific card.

Foxpro 6.0 came in several editions each with different packaging, demos, etc. The only FoxPro 6.0 edition that I'm really familiar with using is the one that shipped as part of Visual Studio 6.0, which came with a nice demo of serial port control using MSCOMM32.DLL. You can use that demo to test the serial port card to be sure that it is working properly before you start recoding anything, and you can also review the source code to see how to make things happen.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #5 (permalink)  
Old 09-18-09, 15:57
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
Thanks,
I have Visual Studio 6.0. Will do some reading.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On