VB6 program brings linux wine 1.6.2 to a halt

Thread Starter

Picbuster

Joined Dec 2, 2013
1,047
I do have a simple program ( read write write from a comport @ 38400) works fine under win xp/7/8 however;
Under wine it will run for a wile but it will crash after a number of send and receives ( number random).
The data send 10 bytes max bytes received 30 max both terminated by a CR.
Sometimes it will close the program.

Putty under mint will work with no problems a quick.
Tested with mint 17x /18x /19x same problem.
Lower Wine release and playing with wine config and or wine tricks no improvement.
It all comes back to communication via comports

Question is 2.1 the latest wine?
Are there other persons suffer from this?
Is there a solution?

Picbuster
 

Thread Starter

Picbuster

Joined Dec 2, 2013
1,047
Hello,

Wine 4.0 is the last stable version.
Wine 4.2 is the latest development version.
https://www.winehq.org/
Try to update to the latest version and see if that works for you.

Bertus
Hi Bertus,
Test wine 4.0 on mint 18.3 and 19.1 vb6 prog freezes on serial i/o .
When tried to terminate produces ( message appears: setup_prog is not responding.)
It looks like an overflow somewhere (works N times and than blocks wine. N is a random but less than 20 approx)
Or is the VB6 com port interrupt is the bad boy? Its configured for one char at the time.

Picbuster
 

Thread Starter

Picbuster

Joined Dec 2, 2013
1,047
Hi Picbuster, does it help if you clear the receiver buffer?
Also check out "Gambas":
http://gambas.sourceforge.net/en/main.html
Manual:
http://distro.ibiblio.org/vectorlinux/Uelsk8s/GAMBAS/gambas-beginner-guide.pdf

Its pretty similar to VB6 but runs directly in linux, but is much more up to date, so make life much easier, and also faster running without the need for Wine etc. Its also free!
Gambas looks very nice indeed however; I do not want to re-write this program. ( no time)
Its not the programming but testing is time consuming.

The huge question is;
Why my heap of miserable hard and software is not doing as told by the master!

I am using now an old probook 6540 with win7 for ftdi vinculum ide and this setup program.
All other things like Librecad Kicad Microchip IDE on linux mint 19.1 ++++ works great.

Picbuster
 

pmd34

Joined Feb 22, 2014
527
Hi Picbuster, its not a different FTDI driver is it, the vinclum is more complicated as I remember, and they have 2 possible drivers available, a simple coms port one and a more complex higher speed option?
 

Thread Starter

Picbuster

Joined Dec 2, 2013
1,047
Hi pmd34,
I am talking about the Vinculum IDE allowing to program the chip.
drivers to connect usb to win or linux are available from ftdi and configurable with a ftdi tool.

Hi Bertus,
I know that information however it's not carrying my misery.
However; I did some tests and was able to isolate this problem to interrupt handling and /or buffer pointer.
All other functions including read/write to wine_win registry is working.

I do run out of time (have to release temperature project; maintain temperature in a special locker (40C within 0,02 Celsius no overshoot).
It's working but calibration is time consuming.

I will look next period into this wine problem.

Picbuster
 

Thread Starter

Picbuster

Joined Dec 2, 2013
1,047

Attachments

Top