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
 PasteFromClipboard - AV error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

graph_man

230 Posts

Posted - Jun 29 2020 :  15:59:20  Show Profile  Reply
In mspaint:
File | Open
CTRL + A
CTRL + C

In our program:
ImageEnProc1->PasteFromClipboard();
or
ImageEnProc1->PasteFromClipboard(iecpFullImage);

result - AccessViolation error

xequte

5327 Posts

Posted - Jun 29 2020 :  22:59:14  Show Profile  Reply
I cannot reproduce that. What version of Windows and Delphi are you using?

Is ImageEnProc1 attached to a TImageEnView?

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

graph_man

230 Posts

Posted - Jun 30 2020 :  09:23:10  Show Profile  Reply
Windows 7 and Windows 10
C++ Builder 2010

> Is ImageEnProc1 attached to a TImageEnView?

Yes
But with
ImageEnView1->Proc->PasteFromClipboard();
I see the same result - AV error
Go to Top of Page

xequte

5327 Posts

Posted - Jun 30 2020 :  17:57:28  Show Profile  Reply
Hi

Please email me to test a fix.

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