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
 TImageEnView and TTouchKeyboard = AV

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
Stalker4 Posted - Aug 17 2020 : 07:24:19
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.

8   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 19 2020 : 04:15:50
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
Stalker4 Posted - Aug 19 2020 : 04:11:19
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.
xequte Posted - Aug 19 2020 : 04:03:27
Does "ignore this exception type" not suppress it?

Is there a TTouchKeyboard alternative?

Nigel
Xequte Software
www.imageen.com
Stalker4 Posted - Aug 19 2020 : 03:37:19
It is possible to temporarily ignore this error, but it is not convenient. ; (
xequte Posted - Aug 19 2020 : 02:47:04
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
xequte Posted - Aug 19 2020 : 01:49:34
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
Stalker4 Posted - Aug 18 2020 : 06:51:37
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 ?
xequte Posted - Aug 18 2020 : 06:35:54
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