Page 1 of 1

Problem with ActiveX under Windows 10

Posted: Wed Jan 31, 2018 10:06 am
by Piotr D
Hi,
I use MW6QRCode ActiveX for generating QR-code. This work fine on machine with Windows 7 and 8, but under Windows 10 when generate some QR-code (not all), system crash. Length of text is ca. 200 characters. Below is LOG file:

FATAL ERROR LOG
Not recoverable Error!
SYS Thread-ID: 1312
Module: EH
Error Codes: EH: 900 Sub: 0(0) OS: 0 XPP: 0
Call Stack of Thread 1 (1160):
@XBPACTIVEXCONTROL@I@NOMETHOD(891)
PD_TWORZQR_BMP(3048)
PSBIGQRSTOP(3169)
D_DRQR(1053)
D_W_DRNAKRFPPP(3033)
D_W_DRNAKRF(1455)
D_W_RF_DRUNI(455)
@M_CRFDRUNP@I@INDYWIDUALNIE(2025)
(B)@M_CRFDRUNP@I@KACTIVATE(1036)
@XBPPUSHBUTTON@I@HANDLEEVENT(1556)
@M_DIALOG@I@DOEVENT(111)
@M_CRFDRUNP@I@DOEVENT(315)
M_RFDRUNP(156)
MAIN(888)
Call Stack of GUI Thread (1312):
Call Stack of Thread 3 (1596):
@R_HINTTHR@I@EXECUTE(161)
File: G:\gorzow.rf\X_RFIZ.EXE
TimeStamp: 20180131 18:01
End of FATAL ERROR LOG.

Any idea?
Regards
Piotr

Re: Problem with ActiveX under Windows 10

Posted: Wed Jan 31, 2018 1:09 pm
by rdonnay
I believe that you will need to contact the developer of the ActiveX control to solve this problem.

Re: Problem with ActiveX under Windows 10

Posted: Fri Feb 02, 2018 12:59 pm
by Piotr D
Hi,
problem occurs, when text to coding into QR was greater than 255 characters. But, when I change creation of ActiveX object from:
oControl := XbpActiveXControl():new()
oControl:CLSID := "{3BB56637-651D-4D1D-AFA4-C0506F57EAF8}"

to
oControl := CreateObject("MW6QRCode.QRCode")

problem was solved. I don't understand....
Regards
Piotr

Re: Problem with ActiveX under Windows 10

Posted: Fri Feb 02, 2018 2:04 pm
by Auge_Ohr
the Difference is that XbpActiveXControl() use a "Top-Window" to receive Events.

since Windows 10.16299.xx some User have Problem with Windows Scaleing > 100% "Resolution" (PDR 6904).
most those Xbase++ Apps don't start and show XppFatal.LOG
Module: EH
Error Codes: EH: 900 Sub: 0(0) OS: 0 XPP: 0
but it also happens when "something" change "Resolution" like your QR Code Generator.

so use CreateObject() / DynamicCast() if you need to receive Events instead of XbpActiveXControl()