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
 SaveSelectionToStream crashed in 64Bit
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - Dec 04 2018 :  02:00:47  Show Profile  Reply
Hello,

In the software that I have developed the method - SaveSelectionToStream works just great if the software is compiled in 32Bit.

But if the software is compiled in 64Bit is crashes.

How to solve this problem?

TIA


Yogi Yang

xequte

38616 Posts

Posted - Dec 04 2018 :  05:23:56  Show Profile  Reply
Hi Yogi

Can you give us the steps to reproduce or create a simple demo?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
727 Posts

Posted - Dec 04 2018 :  06:53:26  Show Profile  Reply
Hello Nigel,

Please download the sample code that is working in 32Bit but not working in 64Bit.

I forgot to mention that LoadSelectionFromStream is also not working in 64Bit.

https://mega.nz/#!24oxDK6B!NCn7gct3O2xNxJMwNglPTNZFpR1dPehHjhX9kj-FwDA

TIA


Yogi Yang
Go to Top of Page

yogiyang

India
727 Posts

Posted - Dec 04 2018 :  07:04:45  Show Profile  Reply
In the attached demo you can run the executable directly to test it.

In the software first open a .psd file with multiple layers. I have provided a sample .psd file also for testing.

Now click on the button Save Selection for Layer button.

If you have run the 32Bit exe then everything should work just fine and a file is created in which selection is saved.

But in case of 64Bit it gives Access violation error!!!

TIA


Yogi Yang
Go to Top of Page

xequte

38616 Posts

Posted - Dec 05 2018 :  06:16:37  Show Profile  Reply
I'm afraid that I cannot debug this because I do not have GpStructuredStorage.

Please reproduce without third party libraries.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
727 Posts

Posted - Dec 05 2018 :  09:52:18  Show Profile  Reply
 
I'm afraid that I cannot debug this because I do not have GpStructuredStorage.

The dependent modules are provided in the zip file. They are in the Modules folder.

TIA


Yogi Yang
Go to Top of Page

xequte

38616 Posts

Posted - Dec 05 2018 :  20:13:50  Show Profile  Reply
Yes, but the issue is presumably related to the third party library, and we cannot guarantee compatibility with third party libraries.

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