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
 TImageEnView and TTouchKeyboard = AV
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Stalker4

Ukraine
25 Posts

Posted - Aug 17 2020 :  07:24:19  Show Profile  Reply
Hi All,

Delphi 10.3.3 or 10.4
ImageEn 9.0.0

We create a new VCL win32-project.
Place components TImageEnView and TTouchKeyboard on the form.
Run the program and get AV in system procedure System._UStrFromPWChar on line 30246.
If you remove component TImageEnView from the program (including its units in uses), then there is no error.

This error needs to be corrected for ImageEn 9.0.0.

xequte

38613 Posts

Posted - Aug 18 2020 :  06:35:54  Show Profile  Reply
Hi

I'm unaware of this issue. Are you using a demo version? Please email me for the latest update.

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

Stalker4

Ukraine
25 Posts

Posted - Aug 18 2020 :  06:51:37  Show Profile  Reply
No, not a demo, I tested it on version 9.0.0.
On the latest version, I can't check it yet

Have you tried to make such a project, put these two components on the form, as you wrote in the letter ?
Go to Top of Page

xequte

38613 Posts

Posted - Aug 19 2020 :  01:49:34  Show Profile  Reply
Hi

Actually, you are right. It is crashing in the TKeyboardLayouts class constructor of Vcl.Touch.Keyboard when trying to enumerate the resources of the exe.

Presumably it is failing to cope with one of the ImageEn resources. I can't see any good reason for this, but I'll investigate further tomorrow.


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

xequte

38613 Posts

Posted - Aug 19 2020 :  02:47:04  Show Profile  Reply
Hi

It looks like an issue in EnumResNames of Vcl.Touch.Keyboard. If you add an indexed resource file to your project then you get an A/V.

I just tested a demo without any ImageEn components, only TTouchKeyboard and a resource containing:

5000 RCDATA "test.png"

And it crashed.

At any rate, it is only raises an exception in the IDE so you can ignore it.

attach/xequte/202081924632_KeyboardCrash.zip
25.4 KB

I have submited a bug report to Embarcadero:

https://quality.embarcadero.com/browse/RSP-30453


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

Stalker4

Ukraine
25 Posts

Posted - Aug 19 2020 :  03:37:19  Show Profile  Reply
It is possible to temporarily ignore this error, but it is not convenient. ; (
Go to Top of Page

xequte

38613 Posts

Posted - Aug 19 2020 :  04:03:27  Show Profile  Reply
Does "ignore this exception type" not suppress it?

Is there a TTouchKeyboard alternative?

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

Stalker4

Ukraine
25 Posts

Posted - Aug 19 2020 :  04:11:19  Show Profile  Reply
I forgot to write in the previous message that I am glad that you were able to confirm this error.

If I add this type of error to the exception, then all such errors will be ignored, which is not good.

I just won't use TTouchKeyboard yet (I thought I would use it to enter passwords with protection from keyloggers)

P.S. Please inform me in this thread when Embarcadero gives you an answer on this error.
Go to Top of Page

xequte

38613 Posts

Posted - Aug 19 2020 :  04:15:50  Show Profile  Reply
Yes, it is a risky type of error to ignore.

I'll let you know when I hear back.

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