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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEMulti crashes at second creation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
activer Posted - Aug 26 2016 : 04:20:42
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
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 04 2017 : 00:01:33


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
activer Posted - Aug 02 2017 : 05:17:13
Version 6.0 has solved this issue. Thanks!
xequte Posted - Oct 25 2016 : 22:14:14
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
ysk Posted - Oct 21 2016 : 05:10:36
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()
xequte Posted - Aug 30 2016 : 22:41:25
Thanks,

We'll investigate your test project.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com