Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Importing Type Libraries to Delphi (Part 2) - by: garysn

$
0
0
Hi,

after a break (due to an other project) I'm now continuing my QuickOPC Test.

After following the instruction on Installing QuickOPC on Delphi
everything works fine but there is an issue after importing the components in Delphi Seattle.

When compiling I will get more than 300 warnings of the following types:

- Method 'Equals' hides virtual method of base type 'TObject'
- Method 'GetHashCode' hides virtual method of base type 'TObject'
- Redeclaration of 'ToString' hides a member of the base class


Is there a way to avoid these warnings? Inside our company we have a "0 warnings policy - so I'm not allowed to use a third party component that create any warning.

Of cause I'm able to fix all these warnings manually in the generated code, but what happes when I make a update e.g. from your Version 2018.1 to 2018.2?

When re-importing the new version all my fixes will be lost and I have to do fix all warnings again :-(

Is there any way to avoid this?

Thanks for your help

garysn

Viewing all articles
Browse latest Browse all 1794

Trending Articles