Errors porting from Spread 13 to Spread 18

Posted by: Peter.Priestley on 28 April 2025, 5:03 am EST

  • Posted 28 April 2025, 5:03 am EST

    We have a C++/CLI application exposing an FpSpread instance in CMFCWinFormsView.

    This compiles and runs successfully using Spread 13.

    Attempt to port to Spread 18 produces many errors like the following.

    D:\AsteroidSource\ASTEROID\trunk\ASTEROID\ClusterEditor.cpp(101,28): error C2371: ‘FarPoint::Win::Spread::FpSpread::_a’: redefinition; different basic types

    (compiling source file ‘/ClusterEditor.cpp’)

    D:\AsteroidSource\ASTEROID\trunk\ASTEROID\ClusterEditor.cpp(101,28):

    This diagnostic occurred while importing type ‘FarPoint::Win::Spread::FpSpread’ from assembly ‘FarPoint.Win.Spread, Version=18.0.20241.0, Culture=neutral, PublicKeyToken=327c3516b1b18457’.

    D:\AsteroidSource\ASTEROID\trunk\ASTEROID\ClusterEditor.cpp(101,28): error C2371: ‘FarPoint::Win::Spread::FpSpread::_b’: redefinition; different basic types

    (compiling source file ‘/ClusterEditor.cpp’)

    D:\AsteroidSource\ASTEROID\trunk\ASTEROID\ClusterEditor.cpp(101,28):

    This diagnostic occurred while importing type ‘FarPoint::Win::Spread::FpSpread’ from assembly ‘FarPoint.Win.Spread, Version=18.0.20241.0, Culture=neutral, PublicKeyToken=327c3516b1b18457’.

    D:\AsteroidSource\ASTEROID\trunk\ASTEROID\ClusterEditor.cpp(101,28): error C2373: ‘FarPoint::Win::Spread::FpSpread::_a’: redefinition; different type modifiers

    (compiling source file ‘/ClusterEditor.cpp’)

    I feel that I may have seen issues like this on earlier ports. Can anyone throw any light on this?

  • Posted 29 April 2025, 1:20 pm EST

    Hi Peter,

    We are currently investigating this issue. We will update you soon on this.

    Thanks & regards,

    Aastha

  • Posted 30 April 2025, 12:31 am EST

    Hi Aastha,

    I made a very simple example consisting of a User Control (FpSpread18ControlLibrary) and a test C++/CLI application (TestFpSpread18) using CWinFormsView that demonstrates this problem.

    I’ve attempted to attach the source here as zip files.

    Regards,

    Peter.

    FpSpread18ControlLibrary.zipTestFpSpread18.zip

  • Posted 30 April 2025, 10:40 pm EST

    Hi Peter,

    Thanks for sharing the samples.

    We have forwarded your concern to our developers. [Internal Tracking ID: SPNET-47342] We will update you on this as soon as we hear back from them.

    Thanks & regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels