Page 1 of 2

Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Mon Jun 03, 2024 5:48 pm
by mikelspikel
Hi,

I'm trying to create my first boxed application using Virtual Box and I'm having issues when I try to include into the package a DLL that needs to be registered as ActiveX. If I check the option Register as ActiveX, the boxed exe that is created uses the 100% of the CPU when is run (or of a single core in multicore machines) and the boxed executable is never shown. I'm using version 10.70.

Any idea about the reason of this behavior?

Thanks!

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 04, 2024 6:42 am
by Enigma
Hi, the first thing you should try - enable Registry virtualization. ActiveX registration requires either administrator privileges, either enabling virtual registry in order to write registry values to protected area.

Please try this first, then let me know about results and we can move forward.

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Thu Jun 06, 2024 3:17 pm
by mikelspikel
Hi,

Yes, the Registry virtualization is enabled. In fact, with version 10.50, the components get registered and the CPU problem is not present. It seems to start happening in version 10.60.

But in version 10.50 I'm facing another problem: ActiveX components developed with VC++ 2017 don't register at all during boxed app start. I have tried to register these same components using regsvr32 and they do work.

So summarizing:
Version 10.50: Some components are correctly registered (mswinsck.ocx for example) but ActiveX controls or COM classes developed in VC++ 2017 don't. Boxed applications run fine (no 100% CPU usage) except for the VC++ 2017 issue.
Version 1.70: Boxed application hangs during startup using 100% of CPU if register ActiveX is checked on any file.

In both cases registry virtualization is enabled.

Thank you!

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Mon Jun 10, 2024 10:37 am
by mikelspikel
mikelspikel wrote: Thu Jun 06, 2024 3:17 pm But in version 10.50 I'm facing another problem: ActiveX components developed with VC++ 2017 don't register at all during boxed app start. I have tried to register these same components using regsvr32 and they do work.
This only happens when the components are compiled using Unicode character set. If Multi-Byte is used, componentes do register successfully.

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 6:49 am
by Enigma
Can you please send us non packed sample, with all necessary files to reproduce the problem at support@enigmaprotector.com, we will check it out?

Without testing, it is difficult to say what could be wrong.

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 9:13 am
by mikelspikel
Sample sent. Thank you!

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 9:50 am
by Enigma
OK, got it, I will let you know when test it out.

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 9:57 am
by Enigma
Can you please also send me your .evb project file? Looks like we can't reproduce the issue without it..

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 10:26 am
by mikelspikel
Done. Thanks!

Re: Boxed app uses 100% CPU if Register as ActiveX is selected

Posted: Tue Jun 11, 2024 10:44 am
by Enigma
Thank you for pointing for such problem. The issue came from our last version update.
We have sent you a fixed version on email.

Official new version will also come soon.