Different behavior between 6.1 and 7.1

Report bugs and possible workarounds.
lfonda
Italy
Posts: 32
Joined: 13 Apr 2017, 14:40
Location: Italy

Different behavior between 6.1 and 7.1

Post by lfonda » 13 Feb 2019, 16:13

Some years ago we have developed an application ( Version TD6.1 ) interfacing COM ( RS232 ) ports with an ActiveX from GreenLeaf.
It worked properly on XP and now also on W10 and Version TD6.1.
In the same computer the application developed in version 7.1.1 'vanishes' without any error.
We have no idea what is appening and why.
We include two samples in 6.1 and 7.1.1 versions.

Thank you
lfonda
You do not have the required permissions to view the files attached to this post.

lfonda
Italy
Posts: 32
Joined: 13 Apr 2017, 14:40
Location: Italy

Re: different behavior between 6.1 and 7.1

Post by lfonda » 14 Feb 2019, 08:20

The application has been migrated NOT develeped. It is the very same application. May be that ActiveX is a very old ( 20 years ago ) 16 bit application and doesn't work any more with 7.1 ? This means that version 7.1 doesn't support 16 bit programs, while 6.1 still it does ?

Thank you
lfonda

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1270
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: different behavior between 6.1 and 7.1

Post by Dave Rabelink » 14 Feb 2019, 08:43

I recreated all sources in different TD versions in my system:

- Registered OCX
- New TD project, ActiveX explorer, generate AX library greenfield
- New form, new AX object
- run

This works on TD61 and TD62

But on TD63 it fails. The application does crash indeed without error message
Also on TD70 and TD71.

So it seems that starting with TD63, this OCX does not work.

You could try to find a newer version of the OCX.

Or better, report this to Gupta. Because it is strange that the same OCX works on TD61 and TD62 and suddenly fails on TD63 and up.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

lfonda
Italy
Posts: 32
Joined: 13 Apr 2017, 14:40
Location: Italy

Re: different behavior between 6.1 and 7.1

Post by lfonda » 14 Feb 2019, 09:27

Thank you very much.
We'll contact our Gupta OpenText Partner and try understand what is happening. Now we have opted for a temporary hybrid solution: COM connect with 6.1 and the remaining computers with 7.1, but if we don't find a solution we'll be forced to reprogram trasmissions with a different ActiveX.

lfonda

lfonda
Italy
Posts: 32
Joined: 13 Apr 2017, 14:40
Location: Italy

Re: Different behavior between 6.1 and 7.1

Post by lfonda » 15 Feb 2019, 11:02

This is Gupta reply ( very fast indeed ) about our problem:

Summary
With Team Developer, after migrating a Team Developer 6.2 version
application to version 7.1.1, an activeX component results in a TD crash.

Resolution
This is a migration issue. The original application was built with TD 6.2
and ActiveX/COM components from that version cannot be used as is with TD
7.1. Beginning with version 7.0, the structure byte alignment was changed,
so some binary data incompatibility was introduced. The application needs to
be written from scratch using new ActiveX/COM components.


There is no workaround. We have to rewrite trasmissions.
lfonda

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1270
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Different behavior between 6.1 and 7.1

Post by Dave Rabelink » 15 Feb 2019, 11:19

I doubt this response is correct.

First, the issue starts with TD63 and not TD70.
Secondly, the COM component is a non-TD component, it is 3rdparty.

I can understand that you might have to recreate the ActiveX library using ActiveX explorer.
But when doing that, the same non-TD 3rd party COM component should work on other TD versions.

It seems to me they did not try to use the greenfield component on TD63 and up.

Did you give them the test sources?
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

lfonda
Italy
Posts: 32
Joined: 13 Apr 2017, 14:40
Location: Italy

Re: Different behavior between 6.1 and 7.1

Post by lfonda » 15 Feb 2019, 13:24

Before testing trasmissions, we recreated Gupta library with Gupta 7.1 ActiveX explorer.
Yes we attached the same files sent to you.
GreenLeaf doesn't exist any more ( on Internet at least ), therefore we can't buy a newer version.

Thank you.
lfonda

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest