ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEMulti crashes at second creation
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

activer

Hungary
14 Posts

Posted - Aug 26 2016 :  04:20:42  Show Profile  Reply
Hi Nigel,

We use IEvolution 5.0's IEMulti component.

The problem is that when we create or call the second IEMulti contained form then the application crashes.

The main program (C#):

namespace IEMultiCrash
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Embedded frm = new Embedded();
            frm.ShowDialog();
            frm.Dispose();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Dynamic frm = new Dynamic();
            frm.ShowDialog();
            frm.Dispose();

        }
    }
}

The "Embedded" form contains a placed IEMulti component.
The "Dynamic" from make an instance of IEMulti dynamically:

namespace IEMultiCrash
{
    public partial class Dynamic : Form
    {
        IEMulti scn;
        public Dynamic()
        {
            InitializeComponent();
            scn = new IEMulti();

        }

        private void Dynamic_FormClosed(object sender, FormClosedEventArgs e)
        {
            scn.Dispose();
        }
    }
}

(Test project is here: http://185.81.165.157/owncloud/index.php/s/Bhh8mCveROuulq5 )

Any idea?
Thanks

xequte

38225 Posts

Posted - Aug 30 2016 :  22:41:25  Show Profile  Reply
Thanks,

We'll investigate your test project.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

ysk

2 Posts

Posted - Oct 21 2016 :  05:10:36  Show Profile  Reply
I have the same issue on 5.0.0.0

Environment:
VS 2013 pro, 12.0.40629.00 update 5
Properties > Application > Target framework : .net 4.5 ( same issue on .net 4 )

these are top 4 lines of StackTrace in AccessViolation exception.

it is issuing on IEMulti creation of designer code > this.ecmtView = new HiComponents.IEvolution.IEMulti();

StackTrace:
>HiComponents.IEvolution.TImageEnViewContainer.TIOParamsValsGetDict(UInt64 hview)
>HiComponents.IEvolution.IOParams..ctor(UInt64 hView)
>HiComponents.IEvolution.IEImageList..ctor(UInt64 hMulti)
>HiComponents.IEvolution.IEMulti..ctor()
Go to Top of Page

xequte

38225 Posts

Posted - Oct 25 2016 :  22:14:14  Show Profile  Reply
Hi

There appears to be an issue in 5.0.0. We will fix this for the next update. Unfortunately we do not have a release date at this time.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

activer

Hungary
14 Posts

Posted - Aug 02 2017 :  05:17:13  Show Profile  Reply
Version 6.0 has solved this issue. Thanks!
Go to Top of Page

xequte

38225 Posts

Posted - Aug 04 2017 :  00:01:33  Show Profile  Reply


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: