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
 SaveSelectionToStream crashed in 64Bit

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
yogiyang Posted - Dec 04 2018 : 02:00:47
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
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 05 2018 : 20:13:50
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
yogiyang Posted - Dec 05 2018 : 09:52:18
 
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
xequte Posted - Dec 05 2018 : 06:16:37
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
yogiyang Posted - Dec 04 2018 : 07:04:45
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
yogiyang Posted - Dec 04 2018 : 06:53:26
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
xequte Posted - Dec 04 2018 : 05:23:56
Hi Yogi

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

Nigel
Xequte Software
www.imageen.com